can ping ip but no nslookup

Hi

I'm a bit of a novice with Solaris and DNS but I've just added 2 new machines to the hosts file on our DNS. I can ping both using the FQDN or the ip address but I get the following answer to nslookup

*** server.name.columbia.edu can't find machine.name.columbia.edu: Non-existent host/domain

the nsswitch.conf file says hosts files dns and the resolv.conf file has domain the correct domain name and the nameserver has the correct ip address.

Why isn't the update to the hosts file being acknowledged ?

Thanks

Anna

[565 byte] By [annib70] at [2007-11-26 10:36:43]
# 1

> Hi

> I'm a bit of a novice with Solaris and DNS but I've

> just added 2 new machines to the hosts file on our

> DNS.

To the hosts file on DNS.... I don't know what that means.If you added it to the hosts file, what does that have to do with DNS?

> I can ping both using the FQDN or the ip address

> but I get the following answer to nslookup

>

> *** server.name.columbia.edu can't find

> machine.name.columbia.edu: Non-existent host/domain

>

> the nsswitch.conf file says hosts files dns and the

> resolv.conf file has domain the correct domain name

> and the nameserver has the correct ip address.

>

> Why isn't the update to the hosts file being

> acknowledged ?

'nslookup' isn't a general host lookup tool. It is specific to DNS. It will never look at NIS or hostfiles or anything configured in nsswitch.conf.

Perhaps you want to use 'getent hosts <hostname>'.

--

Darren

Darren_Dunham at 2007-7-7 2:47:37 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Hi

thanks for your reply.

By DNS I meant in the hosts file on the server that is the domain name server.

I'm aware that nslookup doesn't look at any of those files I mentioned the server looks at those files in order to resolve the question.

What I am trying to work out is how to get the domain name server to know that these 2 new machines are now on the network.

Anna :)

annib70 at 2007-7-7 2:47:37 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
Realised what I had forgotten to do. I needed to update the zone files in /var/named/ and then use ndc reload <zone db>.RegardsAnna
annib70 at 2007-7-7 2:47:37 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...