You appear to have recursion disallowed on the BIND 9 setup. Note the status:
REFUSED and recursion requested by not available.
Also, don't use http:// in your dig queries. I'm surprised that works... or
maybe it doesn't which could be confusing things.
-Vinny
From: bind-users-bounces+vinny_abello=dell@lists.isc.org
[mailto:bind-users-bounces+vinny_abello=dell@lists.isc.org] On Behalf Of
hugo hugoo
Sent: Thursday, November 03, 2011 6:11 PM
To: bind-users@lists.isc.org
Subject: answer to not existing record
Hello,
I have seen a difference in the behaviour for a query to a non existing query
(the domain is not manage by the name server) between bind8 and bind9.
I just would like to know if it is normal or if it is a problem.
Thanks in advance for your feedback
Bind9:
# dig @localhost http://www.rai.it<http://www.rai.it/>
; <<>> DiG 9.7.3-P3-RedHat-9.7.3-2.el6_1.P3.2 <<>> @localhost
http://www.rai.it<http://www.rai.it/>
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 28581
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;www.rai.it.IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Nov 3 15:09:54 2011
;; MSG SIZE rcvd: 28
Bind8:
# dig @localhost http://www.rai.it<http://www.rai.it/>
; <<>> DiG 9.3.4 <<>> @localhost http://www.rai.it<http://www.rai.it/>
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10386
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;www.rai.it.IN A
;; AUTHORITY SECTION:
. 518400 IN NS A.ROOT-SERVERS.NET.
. 518400 IN NS B.ROOT-SERVERS.NET.
. 518400 IN NS C.ROOT-SERVERS.NET.
. 518400 IN NS D.ROOT-SERVERS.NET.
. 518400 IN NS E.ROOT-SERVERS.NET.
. 518400 IN NS F.ROOT-SERVERS.NET.
. 518400 IN NS G.ROOT-SERVERS.NET.
. 518400 IN NS H.ROOT-SERVERS.NET.
. 518400 IN NS I.ROOT-SERVERS.NET.
. 518400 IN NS J.ROOT-SERVERS.NET.
. 518400 IN NS K.ROOT-SERVERS.NET.
. 518400 IN NS L.ROOT-SERVERS.NET.
. 518400 IN NS M.ROOT-SERVERS.NET.
;; Query time: 7 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Nov 3 15:13:15 2011
;; MSG SIZE rcvd: 239
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users