From owner-freebsd-questions Fri Oct 4 07:35:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA22077 for questions-outgoing; Fri, 4 Oct 1996 07:35:10 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA22072 for ; Fri, 4 Oct 1996 07:35:05 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id QAA01661; Fri, 4 Oct 1996 16:34:02 +0200 (IST) Date: Fri, 4 Oct 1996 16:34:02 +0200 (IST) From: Nadav Eiron To: D B Dews cc: freebsd-questions@freebsd.org Subject: Re: new and dumb 2 In-Reply-To: <32551BE2.435F@camel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.