[yadifa-users] Different DNS responses with logging on * or prod

Markus Kolb markus.kolb+yadifa at tower-net.de
Mon Dec 4 10:22:51 CET 2017


Hi,

I get different responses with latest Yadifa 2.2.6 if I use logging prod 
or all levels enabled.

I'm doing some local roll-out tests currently and maybe there is some 
zone-file problem.
So on prod-level I get a SERVFAIL.
But when trying to find the problem and enabling all log levels with *.
The SERVFAIL is gone and the response is served as expected?!

I think this should not happen.

With log level *:

dig @localhost somedomain.eu

; <<>> DiG 9.10.4-P5 <<>> @localhost somedomain.eu
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42085
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;somedomain.eu.	IN	A

;; ANSWER SECTION:
somedomain.eu. 86400 IN	A	100.100.100.100

;; AUTHORITY SECTION:
somedomain.eu. 86400 IN	NS	ns1.mydomain.de.
somedomain.eu. 86400 IN	NS	ns2.mydomain.de.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec 04 10:21:57 CET 2017
;; MSG SIZE  rcvd: 121


With prod level:

dig @localhost somedomain.eu

; <<>> DiG 9.10.4-P5 <<>> @localhost somedomain.eu
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6691
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;somedomain.eu.	IN	A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec 04 10:23:12 CET 2017
;; MSG SIZE  rcvd: 55


More information about the yadifa-users mailing list