nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

DNS error...

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 ~]# ...


Go Back   nixCraft Linux Forum > Mastering Servers > Domain Name Server

Linux answers from nixCraft.


Domain Name Server Discussion on domain name server including BIND and other servers.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-08-2008, 05:15 PM
Member
User
 
Join Date: Jul 2007
Location: Hyderabad
OS: Redhat RHEL, Solaris
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
vaibhav.kanchan is on a distinguished road
Default DNS error...

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..
Reply With Quote
  #2 (permalink)  
Old 28-08-2008, 02:55 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Do you have correct nameservers listed in /etc/resolv.conf file?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 29-08-2008, 03:57 PM
Member
User
 
Join Date: Jul 2007
Location: Hyderabad
OS: Redhat RHEL, Solaris
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
vaibhav.kanchan is on a distinguished road
Default

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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT +5.5. The time now is 06:50 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38