OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: patman on February 11, 2024, 09:49:45 AM

Title: [solved] Unbound TTL for local-data
Post by: patman on February 11, 2024, 09:49:45 AM
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!
Title: Re: Unbound TTL for local-data
Post by: patman on February 18, 2024, 09:22:09 AM
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.