1752588 Members
4175 Online
108788 Solutions
New Discussion юеВ

nslookup

 
Jennifer Money
Occasional Advisor

nslookup

Hi all....I recently tried nslookup on all my machine names/IPs. If I type in the machine name, it comes back with the IP. If I type in the IP, it comes back with 'no hostname infotmation available on ### IP'. Is it the lookup order of my table? I can't even do my brrestores until I get this resolved. No pun intended.

Jennifer
9 REPLIES 9
Rick Garland
Honored Contributor

Re: nslookup

Check the /etc/nsswitch.conf file. See what order the lookups is happening and adjust if necessary.
James R. Ferguson
Acclaimed Contributor

Re: nslookup

Jennifer:

Along the lines Rick suggested; run nslookup and type "policy". This will give you the policy from the switch configuration file.

...JRF...
Jennifer Money
Occasional Advisor

Re: nslookup

I looked up my nsswitch.conf file and it does not appear to need adjusting. Anything else?

Jennifer
Mike McKinlay
Honored Contributor

Re: nslookup

Jennifer, does your DNS server provide reverse-DNS lookups?
"Hope springs eternal."
Jennifer Money
Occasional Advisor

Re: nslookup

I can perform reverse lookups on all servers except for one.

Jennifer
Rick Garland
Honored Contributor

Re: nslookup

If you can do reverse lookups on all servers but one, check the DNS entry for that server. Do you have the ending period (.) for the entry?
Jennifer Money
Occasional Advisor

Re: nslookup

Our lookup goes off of our named.data file. THere are no ending .'s.

Jennifer
Rick Garland
Honored Contributor

Re: nslookup

For the reverse lookups you would need PTR records. These end in the (.)
Jennifer Money
Occasional Advisor

Re: nslookup

Here's the deal...the node name was missing in the reverse DNS file....

THanks for everyone's input.