Skip to content

Tool to sync your Tailscale tailnet hosts to route53.

License

Notifications You must be signed in to change notification settings

paxmarc/tailscale-dns-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tailscale-dns-sync

A small tool to sync DNS records from your Tailscale tailnet to Route53, if MagicDNS doesn't take your fancy.

Will add records in the format <device_hostname>.<target_domain>

Usage

This assumes your environment has the requisite AWS permissions set up to modify Route53 hosted zones.

After cargo installing locally, run:

export TAILSCALE_DNS_API_KEY=<your_api_key>
export TAILSCALE_DNS_TAILNET=<your_tailnet_name>
export TAILSCALE_DNS_ROUTE53_DOMAIN=<your_target_domain>
export TAILSCALE_DNS_ROUTE53_HOSTED_ZONE_ID=<your_hosted_zone_id>
tailscale-dns-sync

TODO

  • Flag for disabling ipv6 records

About

Tool to sync your Tailscale tailnet hosts to route53.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages