Skip to content

Don't want to use MagicDNS? Put all of those DNS entries in Cloudflare instead.

License

Notifications You must be signed in to change notification settings

mark-ignacio/tailscale2cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tailscale2cloudflare

A tiny utility to run periodically that updates DNS entries for your Tailscale devices in a Cloudflare zone. It's currently being used to keep a globally-distributed K3S cluster running.

It can(not):

  • Create A records based on Tailscale hostnames
  • Update existing A records
  • Support subdomain suffixes
  • Support multiple A records for a host

grep -F TODO to see the various complicated things that need to be done.

Note on hostnames, machine names

Per #2, it's possible to have a device hostname that isn't a valid DNS name.

As of 07/18/2022, tailscale2cloudflare has switched to using machine names, which parallels Tailscale's MagicDNS implementation. To retain the old behavior of using hostnames, use the --sync-hostnames flag or set SYNC_HOSTNAMES=1.

About

Don't want to use MagicDNS? Put all of those DNS entries in Cloudflare instead.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages