abh / geodns

DNS server with per-client targeted responses
Apache License 2.0
1.39k stars 193 forks source link

Errors with processing of TTL records for NS RRs #83

Open abligh opened 9 years ago

abligh commented 9 years ago

geodns attempts to be helpful and avoids setting short TTLs (such as those typically used for A records) on NS records, and attempts to keep them above 86,400. There are two bugs here:

This can be illustrated by a simple dig NS example.com @127.0.0.1 on the default zonefiles, and seeing that a TTL of 600 is used (despite the attempt to keep them above 86,400), and that adding a TTL of 12,000 in to the NS records fails to remedy the situation.

Both issues are fixed by: https://github.com/abh/geodns/pull/82