From owner-freebsd-questions Fri Feb 2 22:12:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.il.home.com (ha2.rdc2.il.home.com [24.2.1.36]) by hub.freebsd.org (Postfix) with ESMTP id D647637B401 for ; Fri, 2 Feb 2001 22:12:22 -0800 (PST) Received: from marx.marvic.chum ([24.17.229.11]) by mail.rdc2.il.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010203061220.PKS12340.mail.rdc2.il.home.com@marx.marvic.chum>; Fri, 2 Feb 2001 22:12:20 -0800 Received: (from vcardona@localhost) by marx.marvic.chum (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id AAA04333; Sat, 3 Feb 2001 00:16:16 -0600 Date: Sat, 3 Feb 2001 00:16:16 -0600 From: "Victor R. Cardona" To: Trevin Chow Cc: questions@FreeBSD.ORG Subject: Re: how to set DNS server IP? Message-ID: <20010203001616.B4296@home.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tmchow@sfu.ca on Fri, Feb 02, 2001 at 09:52:13PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Feb 02, 2001 at 09:52:13PM -0800, Trevin Chow wrote: > My freebsd box is running dhcpd to issue ips to my internal network and at > the same time I'm runnign dhcp client daemon on it to get a dynamic IP > from my ISP. > > I'm also acting as my own nameserver for my domain... In my > /usr/local/etc/dhcpd.conf file I have this line: > > option domain-name-servers 198.162.0.1 > > but when the clients get their address from my freebsd box, they are using > my ISPs DNS servers (I check in `winipcfg` on these machine under "more > info"). > > Is there something I'm missing that I need to change in order to get my > internal lan to use my freebsd box (which is their internet gateway as > well) as their nameserver? > > btw - the internal clients have their gateway IP's properly set to the IP > of the interface they are connected to on the freebsd box. I believe that you have to change the name server IP addresses manually. I don't know about NT or W2K, but on Win95 and Win98 there will be a tab in the TCP/IP properties section that will allow you to configure which nameservers you use. HTH, -- Victor R. Cardona GnuPG Key fingerprint = 62B1 7995 A830 432C 74E8 1337 EDDB E682 3C76 7404 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message