From owner-freebsd-questions Fri Feb 2 21:52:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (Postfix) with ESMTP id 85B2137B401 for ; Fri, 2 Feb 2001 21:52:15 -0800 (PST) Received: from fraser.sfu.ca (tmchow@fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.10.1/8.10.1/SFU-5.0H) with ESMTP id f135qDM18281 for ; Fri, 2 Feb 2001 21:52:14 -0800 (PST) Received: from localhost (tmchow@localhost) by fraser.sfu.ca (8.9.2/8.9.2/SFU-5.0C) with ESMTP id VAA01045 for ; Fri, 2 Feb 2001 21:52:13 -0800 (PST) X-Authentication-Warning: fraser.sfu.ca: tmchow owned process doing -bs Date: Fri, 2 Feb 2001 21:52:13 -0800 (PST) From: Trevin Chow To: Subject: how to set DNS server IP? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message