Operating System - HP-UX
1833863 Members
1932 Online
110063 Solutions
New Discussion

Re: telnet/ftp unable to resolve hostname

 
Neeraj_5
Occasional Contributor

telnet/ftp unable to resolve hostname

hi..
i am facing this problem where the name should be resolved using NIS. ping is able to resolve hostname but ftp and telnet are not able to resolve names. already tried the changes in nsswitch.conf file. The system is :-
ia64 hp workstation zx2000
and OS is
HP-UX test46 B.11.23
3 REPLIES 3
Michael Steele_2
Honored Contributor

Re: telnet/ftp unable to resolve hostname

Please verify that you can not telnet off the server but can telnet into the server.

When using NIS use :

inetd -c
-or-
inetd -k

... to update.

Verify telnet and ftp are working on the server by invoking a session and displaying the command set with help or ?

ftp
he

telnet
?

Please attach your /etc/resolv.conf and /etc/nsswitch.conf files.
Support Fatherhood - Stop Family Law
Ravi_8
Honored Contributor

Re: telnet/ftp unable to resolve hostname

Hi,

check /etc/resolv.conf file
never give up
Steven E. Protter
Exalted Contributor

Re: telnet/ftp unable to resolve hostname

I don't think NIS resolves hostnames.

Thats done by DNS, Domain Name Service or /etc/hosts

Quick test.

nslookup

If it doesn't work, follow the steps in the prior posts. If it does, hostname resolution isn't your problem.

If you know the IP address of the two machines, (you can get the HP one with ifconfig, windows ipconfig in a dos box) test connectivity.

ping

If it works you have connectivity, if not you have a network setup issue.

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