Operating System - HP-UX
1827612 Members
3007 Online
109966 Solutions
New Discussion

How to configure the nsswitch file in pure ipv6 enviromment

 
nameconfiguration
Occasional Advisor

How to configure the nsswitch file in pure ipv6 enviromment

Hi,
we enabled the pure ipv6 on hpunix 11iv2. Now the system is having ipv6 address alone. i am getting problem for resolving name service, if i go for nslookup it only looking in to /etc/hosts file. even i registerd unix machine to ipv6 domain. that dns server details are updated in resolv.conf also. it is pinging with ipaddress and hostname also if i enter in /etc/hosts file. if not in /etc/hosts file is not pinging with hostname
can u send me some update how to configure to solve my problem :

waiting for your reply

Thanks
gopi
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor

Re: How to configure the nsswitch file in pure ipv6 enviromment

Gopi,

could you post your /etc/nsswitch.conf file?

Regards,
Robert-Jan
nameconfiguration
Occasional Advisor

Re: How to configure the nsswitch file in pure ipv6 enviromment

Hi ,

please find the attached screen shot for the file
Thanks
Gopi
Robert-Jan Goossens
Honored Contributor

Re: How to configure the nsswitch file in pure ipv6 enviromment

Gopi,

Try this, change the line "ipnodes: dns files" into;

ipnodes : files [NOTFOUND=CONTINUE] dns

and try again.

Robert-Jan
nameconfiguration
Occasional Advisor

Re: How to configure the nsswitch file in pure ipv6 enviromment

Hi ,

i tried with that option, but i am not getting the same error, you can find the error in the screen shot. is there any option to configure with SAM

OldSchool
Honored Contributor

Re: How to configure the nsswitch file in pure ipv6 enviromment

are you absolutely sure that the nameserver entries in resolv.conf are correct.

the error message indicates that it can't find the nameserver(s) specified
OldSchool
Honored Contributor

Re: How to configure the nsswitch file in pure ipv6 enviromment

Bill Hassell
Honored Contributor

Re: How to configure the nsswitch file in pure ipv6 enviromment

Bypass the nsswitch file completely and explicitly ask each DNS server to lookup something:

nslookup hp.com some-ipv6-address

If the DNS server refuses to reply, ping the address. Another test is to use nsquery:

nsquery hosts hp.com

But it really looks like the DNS server address is just not responding.


Bill Hassell, sysadmin
whiteknight
Honored Contributor

Re: How to configure the nsswitch file in pure ipv6 enviromment

gopi,

for 11iv2
http://docs.hp.com/en/5990-7278/ch07s01.html

Migrating Name and IPv6 Address Lookup


Most sites test IPv6 on a development subnetwork before deploying it on a larger scale. These sites typically add IPv6 address and host names to the /etc/hosts files on IPv6 hosts, then change their hosts lookup policy to search files.

HP recommends that you maintain at least a minimal /etc/hosts file that includes important addresses like gateways, root servers, and your hostâ s own IP address. HP also recommends that you include the word files in the hosts and ipnodes lines of /etc/nsswitch.conf to help ensure a successful system boot using the /etc/hosts file when DNS is not available.

WK
Problem never ends, you must know how to fix it