Skip to content

Create a BIND Zone from the devices in a Tailscale account

License

Notifications You must be signed in to change notification settings

metcalfc/tailzone

Repository files navigation

tailzone

Create a BIND Zone from the devices in a Tailscale account

Usage

  1. Install the required dependencies by running the following command:

    pip install -r requirements.txt
  2. You will need to set the following environment variables:

    • TS_KEY: Tailscale API key
    • TAILNET: Tailscale tailnet ID
    • DOMAIN_NAME: Domain name for the zone file
  3. Run the tailzone.py script with the desired options. For example:

    python tailzone.py
  4. The script will generate a BIND Zone file based on the devices in your Tailscale account and save it to db.DOMAIN_NAME.

  5. You can then use the generated BIND Zone file in your DNS server configuration to resolve the devices in your Tailscale network.

About

Create a BIND Zone from the devices in a Tailscale account

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages