LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   DNS Problem (https://www.linuxquestions.org/questions/linux-server-73/dns-problem-4175508136/)

anis123 06-16-2014 12:18 AM

DNS Problem
 
Hi ,

i Configure bind 9 on centos .it configure properly and resolving our local domains successfully . but when i try to dig google.com it show me the following result.

<<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 684
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;google.com. IN A

;; AUTHORITY SECTION:
. 499542 IN NS m.root-servers.net.
. 499542 IN NS i.root-servers.net.
. 499542 IN NS j.root-servers.net.
. 499542 IN NS a.root-servers.net.
. 499542 IN NS l.root-servers.net.
. 499542 IN NS e.root-servers.net.
. 499542 IN NS c.root-servers.net.
. 499542 IN NS h.root-servers.net.
. 499542 IN NS f.root-servers.net.
. 499542 IN NS g.root-servers.net.
. 499542 IN NS b.root-servers.net.
. 499542 IN NS d.root-servers.net.
. 499542 IN NS k.root-servers.net.

;; Query time: 0 msec
;; SERVER: 10.3.20.110#53(10.3.20.110)
;; WHEN: Mon Jun 16 10:14:18 2014
;; MSG SIZE rcvd: 239

bathory 06-16-2014 01:52 AM

Quote:

<snip>
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0
;; WARNING: recursion requested but not available
<snip>
You must allow recursion to your clents, so in named.conf use something like:
Code:

allow-recursion { localhost; localnets; x.x.x.x;};
Rehards


All times are GMT -5. The time now is 03:57 PM.