lotus



previous page: 028.  Why should I create ordinary user accounts. I'm the only user on this machine. Why not just work as root?
  
page up: Brief Linux FAQ
  
next page: 030.  I don't like having to type the full host name when using telnet. How can I resolve this problem?

029. I am able to establish a dial up connection but when I use telnet to connect to remote hosts telnet understands IP address but not host names. What can I do to have telnet and other programs understand host names?




Description

This article is from the the Brief Linux FAQ (BLFAQ) Maintained by Neil Zanella nzanella@ganymede.cs.mun.ca

029. I am able to establish a dial up connection but when I use telnet to connect to remote hosts telnet understands IP address but not host names. What can I do to have telnet and other programs understand host names?

You should be able to get rid of this problem by adding an entry for a name server in the file /etc/resolv.conf . If you have more than one name server then you should put your primary dns first as nameserver entries get read from top to bottom. The 'search' or 'domain' line should have your isp's domain name. Your /etc/resolv.conf should look something like:

search virtual-impact.com
domain virtual-impact.com
nameserver 205.162.94.51
nameserver 205.162.88.33
nameserver 134.153.2.90

 

Continue to:















TOP
previous page: 028.  Why should I create ordinary user accounts. I'm the only user on this machine. Why not just work as root?
  
page up: Brief Linux FAQ
  
next page: 030.  I don't like having to type the full host name when using telnet. How can I resolve this problem?