LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-29-2012, 05:01 AM   #1
call_krushna
Member
 
Registered: Aug 2007
Location: India
Distribution: Ubuntu
Posts: 168

Rep: Reputation: 1
ping is working but not nslookup


Hi Team,

I have configured dns(internal) long back .We have number os hostA records in it .I am able to ping all the FQDN that has been added to host A record .but nslookup is not working .Throwing the below error .


nslookup splunk.qa.xxx.com
;; Got recursion not available from 10.0.1.133, trying next server
;; Got recursion not available from 10.0.1.133, trying next server
;; Got recursion not available from 10.0.1.133, trying next server
;; Got recursion not available from 10.0.1.133, trying next server
Server: 10.0.0.2
Address: 10.0.0.2#53

** server can't find splunk.qa.xxx.com: NXDOMAIN

I am able to ping the same domain name and access the domain in browser .

Please help me resolve the issue .
 
Old 07-29-2012, 08:13 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Quote:
nslookup splunk.qa.xxx.com
;; Got recursion not available from 10.0.1.133, trying next server
<snip>
Server: 10.0.0.2
Address: 10.0.0.2#53

** server can't find splunk.qa.xxx.com: NXDOMAIN
From the above, looks like the dns at 10.0.1.133 does not allow recursion for your client, while the dns at 10.0.0.2 knows nothing about splunk.qa.xxx.com.
You need to add
Code:
allow-recursion {x.x.x.x/24;};
in the 1st dns /etc/named.conf (x.x.x.x/24 being your network/subnet-mask)

Regards
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ping does not resolve name while nslookup does jmonatsys0 Linux - Networking 6 09-07-2010 03:00 PM
[SOLVED] ping / nslookup / host not working j66788 Linux - Networking 5 10-07-2009 05:52 PM
Inconsistent results using ping, dig, nslookup, whois, host steelaz Linux - Networking 3 04-05-2009 07:50 AM
ProxyServer: how to ping,nslookup,wget,curl etc from client PC ~=gr3p=~ Linux - Networking 2 06-10-2005 07:16 AM
nslookup works, ping doesn't coolnicklas Linux - Networking 5 04-16-2005 08:23 PM


All times are GMT -5. The time now is 12:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration