SOA record without full content causes exception with ANY query #357

Closed
Habbie opened this Issue Apr 26, 2013 · 1 comment

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Apr 26, 2013

When a zone has a SOA record with an incomplete content (e.g. only nameserver,hostmaster & serial, in order to use default-soa-* settings values for the other properties),
it is correctly returned when a SOA query is received for the zone (all the data are filled),
but not when a ANY query is received : an exception is raised for incomplete data, and a SERVFAIL is returned.

The difference seems to be in the Packet Handler : when a SOA query is proceeded, the result comes from the "getAuth" call (that uses getSOA within which a fillSOAData & other completion is performed) ; but when a ANY query is proceeded, the result comes from the backend.get(rr) loop, where the records come directly from the backend without further processing.

Tested with official pdns-3.0-rc2

@Habbie Habbie was assigned Apr 26, 2013
@Habbie Habbie closed this Apr 26, 2013
@Habbie
Member
Habbie commented Apr 26, 2013

Author: ahu
closed in commit 2206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment