LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2009, 11:01 AM   #1
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Rep: Reputation: 17
Exclamation What is Required to do a NSLookup or Dig?


A user did something really nasty on my cluster yesterday and brought the whole thing down.
Quote:
"I was copying some stuff and I guess it was just too big for the server. I did this before and corrupted the inode registry. Oops."
Yeah, ok. So, none of my nodes are communicating correctly because now they can't pull DNS information from the master head node.

My question for LQo is simply this: What is Required to do a NSLookup or Dig?
I can ping all addresses on the subnet, but only servers by name which appear in the /etc/hosts file.

1. DNS Server / service Named started
2. Resolv.conf on the client
Code:
; generated by /sbin/dhclient-script
search masternode.local
nameserver 172.16.0.254
3. nslookup / dig packages installed
4. named.conf properly configured on the DNS server
5. named zone files
6. ?? If all of the above are correct, then what is missing ??

I thought putting the master node / dns server in my hosts file but that's not practical nor helped.

Thanks.
 
Old 10-15-2009, 12:03 PM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
I would start looking in this manner

1. Is your nsswitch.conf is properly configured ?
2. Is the DHCP relaying correct DNS address ?


check using
nslookup <some name in the domain> - <the dns server ip address>
this
 
Old 10-15-2009, 01:28 PM   #3
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Original Poster
Rep: Reputation: 17
1. Yes
2. Hangs, and can't talk to the DNS thru ip or fqdn
 
Old 10-15-2009, 05:04 PM   #4
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
Quote:
Originally Posted by ECRocker View Post
2. Hangs, and can't talk to the DNS thru ip or fqdn
this needs to be checked. Are you able to get IP address using the DHCP server. If you are not, then try setting a static IP and see if you are able to browse network properly. If yes then it is all about troubleshooting DHCP server.
 
Old 10-15-2009, 07:42 PM   #5
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Original Poster
Rep: Reputation: 17
Yes. The DHCP server assigns an address to the node, and then xCAT (the cluster admin tool) sees the node and tells the dhcp server to reassign the ip address according to what port the ethernet cable is plugged into.
Yeah, I can browse the network by ip address, just not domain name. I can't imagine what got corrupted...
 
Old 10-16-2009, 12:35 PM   #6
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Original Poster
Rep: Reputation: 17
FIREWALL PORT 53:UDP 53:TCP !!!!!!!!!!!

The DNS Server listens for requests and responds back on those two ports.

The firewall configuration got over written, and re-opening those ports allows nslookup/dig to work properly again - as well as all my cluster software.

Heck yes.
 
  


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
Dig, host, nslookup? gsibble Arch 2 01-25-2015 04:36 AM
(nslookup) vs (dig and host) emailssent Linux - Networking 7 10-06-2004 09:38 AM
nslookup + dig commands ptreves Linux - General 8 09-10-2004 03:46 AM
dig, nslookup rpm ashley7 Linux - Software 0 04-05-2004 09:27 AM
DIG / NSLOOKUP message? matrx88 Linux - Networking 1 08-20-2003 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:16 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration