[DNS] DIG can't resolve but HOST and NSLOOKUP can
by banderas20 from LinuxQuestions.org on (#6KYHA)
Hi!
I have set up a bind9 local DNS with rescursion turned off.
From the DNS server, if I query google.es using DIGit returns:
;; WARNING: recursion requested but not available
However, if I use HOST, it works:
google.es has address 216.58.215.131
Same happens with NSLOOKUP
nslookup google.es
;; Got recursion not available from 172.17.70.1, trying next server
Server:212.230.135.2
Address:212.230.135.2#53
I expected neither of them to succeed.
Why this behaviour?
Thanks!
I have set up a bind9 local DNS with rescursion turned off.
From the DNS server, if I query google.es using DIGit returns:
;; WARNING: recursion requested but not available
However, if I use HOST, it works:
google.es has address 216.58.215.131
Same happens with NSLOOKUP
nslookup google.es
;; Got recursion not available from 172.17.70.1, trying next server
Server:212.230.135.2
Address:212.230.135.2#53
I expected neither of them to succeed.
Why this behaviour?
Thanks!