Linux / UNIX Tech Support Forum
This is a discussion on DNS error... within the Domain Name Server forums, part of the Mastering Servers category; Hi folks,, I am getting followin errors when I am trying to resolve the hostnames using their names.. [root@station1 ~]# ...
|
|||||||
| Domain Name Server Discussion on domain name server including BIND and other servers. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi folks,,
I am getting followin errors when I am trying to resolve the hostnames using their names.. [root@station1 ~]# host station1.sarkar.com Host station1.sarkar.com not found: 3(NXDOMAIN) [root@station1 ~]# host redhat.sarkar.com Host redhat.sarkar.com not found: 3(NXDOMAIN) But when I type the IP address of the above hosts, it's working.. like [root@station1 ~]# host 172.168.24.2 (IP address of station1.sarkar.com ************************************************** ***** Error number 2 [root@station1 ~]# nslookup station1.sarkar.com Server: 172.168.24.2 Address: 172.168.24.2#53** server can't find station1.sarkar.com: NXDOMAIN [root@station1 ~]# nslookup 172.168.24.2 Server: 172.168.24.2 Address: 172.168.24.2#532.24.168.172.in-addr.arpa name = station1.sarkar.com. [root@station1 ~]# nslookup redhat.sarkar.com Server: 172.168.24.2 Address: 172.168.24.2#53** server can't find redhat.sarkar.com: NXDOMAIN [root@station1 ~]# nslookup 172.168.24.24 Server: 172.168.24.2 Address: 172.168.24.2#5324.24.168.172.in-addr.arpa name = redhat.sarkar.com. Which file is having problem /etc/hosts or forward lookup zone file /var/named/localdomain.zone named-checkzone sarkar.com /var/named/localdomain.zone is not giving no errors.. Please let me know if you need any more information.. |
| Sponsored Links | ||
|
|
|
||||
|
Do you have correct nameservers listed in /etc/resolv.conf file?
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Yeah..
search sarkar.com nameserver 172.168.24.2 172.168.24.2 is the IP address of station1.sarkar.com Last edited by vaibhav.kanchan; 29-08-2008 at 04:05 PM. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Invalid ICMP type 3 code 3 error to a broadcast -samba error | raj | Linux software | 0 | 09-07-2006 04:38 AM |