Web Hosting Talk







View Full Version : SSH, DNS and routers


MikeM
06-26-2002, 09:09 AM
i've been searching for 2 days, and not really knowing what to search for, I have been unable to comeup with the answer.

I have a redhat box with SSH installed. The box is behind a linksys router.

When I try to use NSlookup, I get the following error:

*** Can't find server name for address 192.168.1.1: Non-existent host/domain
*** Default servers are not available

Is there a way to configure SSH to use a different set of Nameservers?

Ie: ns1.myISP.com & ns2.myISP.com

Any help would be appreciated...

allan
06-26-2002, 09:26 AM
Originally posted by MikeM

Is there a way to configure SSH to use a different set of Nameservers?


That is a function of Linux. not SSH. You want to change the address in your resolv.conf file:

http://www.tldp.org/HOWTO/Net-HOWTO/x413.html#AEN493

MikeM
06-26-2002, 09:43 AM
That did it... thanx