tailflare

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2024 License: MIT

README

Tailflare

GitHub Actions Workflow Status

Sync your Tailscale devices to Cloudflare DNS.

The functionality is based on this documentation on Tailscale: https://tailscale.com/kb/1054/dns?q=subdomain#using-a-public-dns-subdomain

It is basically taking the Tailscale IP addresses and put them under a subdomain A record on the DNS provider, which is Cloudflare in our case.

image

Usage

Get API keys
Get Cloudflare zone ID

https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/

Get Tailnet organization

alt text

Prep the .env file
cp .env.example .env

Add the environment variables gathered in the previous steps.

Run directly from source
  1. Prerequisites:
  • go >= v1.21
  • make
  1. Clone this repository
git clone https://github.com/aaanh/tailflare
  1. Go would hopefully install the needed dependencies on first run
  2. Run make run

Directories

Path Synopsis
lib

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL