Possible to let clients cache NOERROR responses? #1070
Replies: 2 comments 3 replies
-
Thanks for the post. Negative caching totally depends on clients and how they implement it. Even if there is no SOA available, they can cache it for a certain time again depending on how they implement it. The DNS server uses Negative Cache TTL value in settings in such cases. Using SOA in forwarder is not possible since the Forwarder zone is not authoritative and the SOA is just a dummy record that exists to facilitate zone transfer support to Secondary Forwarder zones. Using this SOA will be breaking the protocol standard. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response! It's a client which I can't control (https://community.home-assistant.io/t/disable-all-these-useless-aaaa-requests), so I guess I just have to live with it. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
I have a conditional forwarding zone for the local domain which forward to the gateway which runs the DHCP server.
As my network is IPv4 only, all AAAA queries for the local domain are answered by the gateway as NOERROR responses (for hostnames which have A records, otherwise it returns NXDOMAIN).
The final response unfortunately has no authority section which means that clients can't cache the response:
Here's the corresponding cache entry:
The forwarding zone has a SOA record. Should this be added to NOERROR responses with the respective TTL?
Beta Was this translation helpful? Give feedback.
All reactions