Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.36 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.36 KB

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