-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send SOA with negative responses (RFC2308) #995
Conversation
Makes sense, could you add a test for this as well? There is already a fairly complete test for this exact method, it could be extended to verify SOA presence as well. |
08c367d
to
76792ff
Compare
I extended TestDNS_NodeLookup and TestDNS_ServiceLookup. |
Anything else needed for possible merge ? |
Hey @42wim, sorry for the delay. Could you rebase this against master? I made some changes to the |
Sure, here you go. |
When can this fix be merged? Our DNS needs this too :-) |
+1 because of Windows needing this too. |
LGTM, thanks for doing this! |
Send SOA with negative responses (RFC2308)
According to RFC:
"Name servers authoritative for a zone MUST include the SOA record of the zone in the authority section of the response when reporting an NXDOMAIN or indicating that no data of the requested type exists."
This fixes issues with DNS recursors caching negative responses too long (e.g. PowerDNS recursor)