module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: May 26, 2024
License: MIT
Opens a new window with license information.
README
¶
Tailflare
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.
Usage
Get API keys
Get Cloudflare zone ID
https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/
Get Tailnet organization
Prep the .env
file
cp .env.example .env
Add the environment variables gathered in the previous steps.
Run directly from source
- Prerequisites:
- Clone this repository
git clone https://github.com/aaanh/tailflare
- Go would hopefully install the needed dependencies on first run
- Run
make run
Directories
¶
|
|
lib
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.