[solved] Unbound TTL for local-data

Started by patman, February 11, 2024, 09:49:45 AM

Previous topic - Next topic
February 11, 2024, 09:49:45 AM Last Edit: February 18, 2024, 09:22:33 AM by patman
Hi!

I noticed that all entries from DHCP are served with a TTL of 0. Is there anywhere in unbound a setting to increase this value to avoid some clients hammering the DNS server with queries? My IPs rarely change so I do not see a problem to increase this value.

Time                Client     Type    Domain  Action Source     Return Code  Resolve time TTL
2024-02-11 xx:xx:xx home.lan   AAAA    tv.lan. Pass   Local-data NOERROR      0ms          0


Thanks!

Found out later, that the log shows TTL 0 but the record is actually delivered with a default TTL of 3600s. The hammering actually stems from IPv6 clients not getting an appropriate answer, because I have no IPv6 records.