*BSD News Article 43267


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!gmi!zombie.ncsc.mil!news.mathworks.com!newshost.marcam.com!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!nntpd.lkg.dec.com!oils!jenkinsj
From: jenkinsj@oils.ozy.dec.com (Jon Jenkins)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: FreeBSD 2.0 - Name Server with SLIP connection (how to)
Date: 8 Mar 1995 20:43:12 GMT
Organization: Digital Equipment Corporation
Lines: 44
Message-ID: <3jl4t0$ng6@nntpd.lkg.dec.com>
References: <3jcdp9$nui@ucsbuxb.ucsb.edu>
NNTP-Posting-Host: oils.ozy.dec.com
X-Newsreader: TIN [version 1.2 PL2(HT3)]

John Wadleigh (rain@beauty.ucsb.edu) wrote:
: I have setup a SLIP connection but I can't get "xarchie" or
: other programs to work fully because they search my "/etc/hosts"
: file for the IP number, and I just can't have every darn number
: in there. 

: How do I set myself up with a local name server? So that the program
: goes there to loookup the IP address??

You set up a name server(s) in /etc/resolv.conf
see man resolver
if you dont have access to a local one then use one of the
main ones on the net backbone.

Then you set up the order of resolving in /etc/hosts as:

bind 	#name server
/etc/hosts	#next try the local hosts file
nis	#then Network information services

works for me

now if you can tell me how to setup sendmail
were even !! Hell if you can tell me how to
setup sendmail your are a genius !!

Jon


--
----------------------------------------------------------------------
Name:        Dr Jon Jenkins
Location:    Digital Equipment Corp, NaC, 
             Burnett Place, Research Park, 
             Bond University, Gold Coast
             QLD, AUSTRALIA 4229
Phone:       61-75-75-0151
Fax:         61-75-75-0100
Internet:    jenkinsj@ozy.dec.com
Close Proximity: "HEY YOU !!!"

The opinions expressed above are entirely personal and do not
reflect the corporate policy of DEC or the opinions of DEC management.
-----------------------------------------------------------------------