LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-04-2007, 11:48 PM   #1
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Rep: Reputation: 15
DNS problem


I have one linux ES-4 edition....I have configured the dns resolv.conf file,named.conf file and relevant zone files.When i run the host command :

[root@localhost named]# host 172.17.0.206
206.0.17.172.in-addr.arpa domain name pointer mango.com.
206.0.17.172.in-addr.arpa domain name pointer ftp.mango.com.
206.0.17.172.in-addr.arpa domain name pointer www.mango.com
.

root@localhost named]# ping www.mango.com
PING www.mango.com.mango.com (172.17.0.206) 56(84) bytes of data.
64 bytes from ftp.mango.com (172.17.0.206): icmp_seq=0 ttl=64 time=0.017 ms



ping successfull : But when I RUN NSLOOKUP COMMAND:

[root@localhost named]# nslookup
> www.mango.com
Server: 172.17.0.206
Address: 172.17.0.206#53

** server can't find www.mango.com: NXDOMAIN




Why is it so ????????????????

Host command is running,ping is successful then why not nslookup..

following is th entries in /etc/hosts file:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
 
Old 03-06-2007, 10:53 AM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
What happens if you do the following:

Code:
nslookup www.mango.com.mango.com
If you get a result from this, I would have to say that something is misconfigured in your bind configuration.
 
Old 03-06-2007, 11:43 PM   #3
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Original Poster
Rep: Reputation: 15
dns

thanx..prob solved
 
Old 03-08-2007, 08:35 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Care to give us a few more details of just what was wrong & how you fixed it? It might help others who have the same problem.

post 1300

Last edited by archtoad6; 03-08-2007 at 08:36 AM. Reason: add "post 1300"
 
Old 03-15-2007, 02:27 PM   #5
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
sounds like DNS TTL delay
 
Old 03-17-2007, 12:51 AM   #6
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Original Poster
Rep: Reputation: 15
ok

well.. a minor dns conf problem..

In dns zone conf file, I forgot to enter dot(.) after domain name. AlWAYS BE REMEBER TO ADD DOT (.)AFTER DOMAIN NAME OR EACH ZONE ENTRIES owise manytimes genuine configurations may not work. Same happened with me. I checked each n everything, restarted the computer many times, studied dns docs many times, but at last, prob was frm my side, only a silly error, a trailing dot was missing.
 
  


Reply

Tags
solution



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
dns problem or ? raft Linux - Networking 13 05-07-2007 05:07 PM
DNS problem sayantan Linux - Networking 1 04-02-2006 09:44 AM
DNS-Problem IWS-Germany Linux - Networking 2 01-18-2006 06:13 AM
DNS problem? pete1234 *BSD 2 09-19-2005 02:04 PM
DNS problem alvi2 Linux - Networking 3 05-13-2005 05:45 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration