Operating System - HP-UX
1833758 Members
2495 Online
110063 Solutions
New Discussion

A question about DNS and telnet

 
Wang,MinJie
Super Advisor

A question about DNS and telnet

Hi all
There is a problem about telnet of my workstation.
I have a B2000 workstation with HP-UX installed on it.
And I configured the /etc/nsswitch.conf as the following output:

*********************************************
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
*********************************************


And I make a /etc/resolv.conf file to use DNS
Now the problem comes!

It takes me such a long time to telnet it from my desktop
and as soon as I remove the /etc/resolv.conf I can quickly telnet the workstation
Can you tell me why and what I can do to both use the /etc/resolv.conf and telnet quickly?

2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: A question about DNS and telnet

Shalom,

When you switch to DNS your DNS database apparently does not have this workstation in it, so it takes a long time to connect.

Check that nslookup works and the answer comes from your DNS sever. If I'm correct see that the DNS database includes this workstation and the problem will be fixed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Godron
Honored Contributor

Re: A question about DNS and telnet

Hi,
if you want a quick fix, add your workstation's ip into /etc/hosts.
Get the DNS updated with your details.
Ensure you have your server name in /etc/hosts and that the DNS ip is correct in resolv.conf