Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 1996 16:34:02 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        D B Dews <d.b.dews@camel.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: new and dumb 2
Message-ID:  <Pine.BSF.3.91.961004162948.1653A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <32551BE2.435F@camel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
First thing first:
Choosing a better subject line will get you better responses. You should 
have used something like: "DNS configuration - newbie question", so that 
people know from the subject whether your posting might interest them.

On Fri, 4 Oct 1996, D B Dews wrote:

> Thanks to all for your help with previous question. I found
> /etc/sysconfig, and learned vi sufficiently to edit it a bit, but where
> in this file do I place the DNS  (as called in DOS/NT land, don't know
> what you call it.) The domain name server  IP address? I set it up
> thusly in Netconfig Section:
> 
> hostname=asa386-20.camel.com [name of machine BSD is on]
> defaultdomainname=camel.com [my domain name]
> tcp_extensions=YES
> weak..etc=NO
> network_interfaces="ep0" [there was an lo0 in there but it kept coming
> up [with a 10Base2 address which messed everything up...my system is
> [10BaseT...so I deleted it]
Really bad thing. lo0 must be defined exactly as it was. This is the loop 
back interface (implementing the 127.0.0.1 address every host has). It is 
vital to the proper functioning of the TCP/IP software. Put it back in!

> ifconfig_ep0="inet 204.251.34.195 netmask 255.255.255.224" [inet is the
> [IP of the BSD box, netmask is my ISP-assigned netmask]
> 
> I chose "NO" for gateway and all else, router=routed. Anyone tell me
> where the DNS value should go?
> 
If by DNS value you mean the address of the DNS servers to look then the 
file to modify is /etc/resolv.conf

It's pretty simple to understand, and you may want to do "man 5 resolver" 
to get the gory details.

Nadav.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961004162948.1653A-100000>