livedns-go/README.md
2025-01-02 09:56:32 +01:00

1 KiB

LiveDNS

LiveDNS allows updating the DNS records of Gandi and PowerDNS by specifying the IPv4 and IPv6 addresses of the machine running the project.

Installation

If you are using Gandi's DNS, you need to generate a Gandi token by following the documentation. If you are using PowerDNS, you will need to generate an API key by following this documentation.

Next, create a configuration file based on the config.yml.example template.

Once the configuration file is ready, start the project by specifying the path to the configuration file:

$ livedns-go ./path/to/config.yml

Gandi

Records to update are defined in the configuration.

PowerDNS

Records to update are defined with comments:

  • livedns-a: set Ipv4 value
  • livedns-aaaa: set Ipv6 value
  • livedns-spf: set SPF value (first ip4: and ip6: will be updated)

License

AGPL v3