Bind 9.14.5/6 servfail for specific zhone with qname minimization disabled
Summary
When I try to query a specific zhone (motormaqconsultoria.com.br) from all my servers (Windows and Linux) running bind 9.14.5 or 9.14.6 the result is always timeout or servfail. I can try any zhone record like SOA, MX, NS or even A.
These server are allocated in different parts of the World so it´s not a communication problem to destination domain DNS servers
Using not Bind DNS servers it works fine and got a valid reply for this zhone query.
BIND version used
bind 9.14.5 bind 9.14.6
I already have qname minimization set to disabled on named.conf due past problems with it, so it´s not the case this time.
Steps to reproduce
dig motormaqconsultoria.com.br using bind 9.14.5 or 9.14.6
What is the current bug behavior?
<<>> DiG 9.14.6 <<>> motormaqconsultoria.com.br ;; global options: +cmd ;; connection timed out; no servers could be reached
What is the expected correct behavior?
Using old bind versions it works fine and have a reply for every zhone record like A, MX, NS, SOA.
Relevant configuration files
named.conf (simplified file just to show that qname-minimization is disabled) acl test { 127.0.0.1/32; <public_ip/32>;};
options { directory "/var/named"; allow-recursion {test;}; qname-minimization disabled; };
Relevant logs and/or screenshots
This LOG was captured using the Windows version for bind 9.14.5, but I have the same result for Linux version and bind 9.14.6. The IP address was hidden
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): ns_client_getnamebuf
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): ns_client_getnamebuf: done
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): ns_client_newname
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): ns_client_newname: done
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): ns_client_releasename
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): ns_client_releasename: done
23-Sep-2019 11:07:20.140 query-errors: debug 1: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): query failed (timed out) for motormaqconsultoria.com.br/IN/MX at c:\cygwin64\home\jenkins\workspace\bind9-build-win32\lib\ns\query.c:6818
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): error
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): send
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): sendto
23-Sep-2019 11:07:20.140 query-errors: debug 4: fetch completed at c:\cygwin64\home\jenkins\workspace\bind9-build-win32\lib\dns\resolver.c:4384 for motormaqconsultoria.com.br/MX in 20.014928: timed out/success [domain:motormaqconsultoria.com.br,referral:0,restart:6,qrysent:8,timeout:0,lame:0,quota:0,neterr:0,badresp:0,adberr:0,findfail:0,valfail:0]
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): ns_client_getnamebuf
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): ns_client_getnamebuf: done
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): ns_client_newname
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): ns_client_newname: done
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): ns_client_releasename
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): ns_client_releasename: done
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): senddone
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): next
23-Sep-2019 11:07:20.140 client: debug 3: client @039596D0 <hidden_ip>#38872 (motormaqconsultoria.com.br): endrequest
23-Sep-2019 11:07:20.140 query-errors: debug 1: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): query failed (timed out) for motormaqconsultoria.com.br/IN/MX at c:\cygwin64\home\jenkins\workspace\bind9-build-win32\lib\ns\query.c:6818
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): error
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): send
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): sendto
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): senddone
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): next
23-Sep-2019 11:07:20.140 client: debug 3: client @08C3D318 <hidden_ip>#47935 (motormaqconsultoria.com.br): endrequest