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 |
What happens if you do the following:
Code:
nslookup www.mango.com.mango.com |
dns
thanx..prob solved
|
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 |
sounds like DNS TTL delay
|
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. |
All times are GMT -5. The time now is 07:44 AM. |