*BSD News Article 45729


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nexus.coast.net!news.sprintlink.net!news.clark.net!rwatson
From: rwatson@clark.net (Robert Watson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: slip DNS
Date: 21 Jun 1995 23:18:39 GMT
Organization: The Star-Lit BBS, Bethesda, Maryland, USA
Lines: 23
Message-ID: <3sa9cf$m5c@clarknet.clark.net>
References: <3s0ht6$svc@pdq.coe.montana.edu>
NNTP-Posting-Host: clark.net
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [version 1.2 PL2]

Dan Dartman (uffda@cs.montana.edu) wrote:
: I have slip working, except I can't seem to ftp any site using it's name.
: I have to use the actual IP address.  I can't add routes unless I use
: the IP number. Any idea whats wrong, thanks.

Try modifying your /etc/resolv.conf -- there should be (at least, when 
you're done) a line that looks something like this..

nameserver ipaddress

where ipaddress is the ip address of a name server -- usually with slip, 
this is the ip of your ISP's DNS server.  If you're really stuck, use 
UUNet's DNS, although you'll get a little more delay on loading as the 
route is longer, and the DNS server's at UUNet are pretty stressed.. ;).  
I believe currently 198.6.1.1 is the uunet dns cache server, and should 
work nicely.  You can also add domains to search automatically (so you 
could do telnet gaea instead of telnet gaea.nchgr.nih.gov if you've added 
nchgr.nih.gov to your search path.)  man resolv.conf, I think.

--
Robert Watson   rwatson@sidwell.edu   http://www.sidwell.edu/~rwatson/
The goal of science is to build better mousetraps.  The goal of nature
is to build better mice.