Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2001 01:48:36 -0500 (EST)
From:      freebsduser <freebsduser@earthlink.net>
To:        Trevin Chow <tmchow@sfu.ca>
Cc:        "Victor R. Cardona" <vcardona@home.com>, questions@FreeBSD.ORG
Subject:   Re: how to set DNS server IP?
Message-ID:  <Pine.BSF.4.05.10102030140140.8422-100000@bsdbox.gregory.earthlink.net>
In-Reply-To: <5.0.2.1.2.20010202221858.00ad3010@popserver.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
If you have set up the DHCP server to give this information to the clients
it will.  However, if you have told the windows systems to use specific
DNS servers the static setting will override the automatic setting from
DHCP.  

Below is my dhcpd.conf

subnet 10.10.10.0 netmask 255.255.255.0 {  
        range 10.10.10.100 10.10.10.250;            
        default-lease-time 604800;
        max-lease-time 2592000;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.10.10.255;
        option routers 10.10.10.1;
        option domain-name-servers 10.10.10.10, 208.130.32.20,
198.22.1.108;
        option domain-name "gregory.mydomain.net";
        }

I have included my ISP's DNS servers just in case my DNS server dies 
(1:43AM  up 399 days, 11 mins, 1 user, and still going!!!!!!).  My win2k
laptop (yes, it dual boots to FreeBSD!!!) uses all the settings as
I have set them in DHCP.  This system goes back and forth between home and
work without any problems.

Hope this helps,

Scott





On Fri, 2 Feb 2001, Trevin Chow wrote:

> Shouldn't this information be set by DHCP from my freebsd box?
> It's getting the gateway IP, so there must be some way of setting it up on 
> the freebsd box.
> 
> At 12:16 AM 2/3/2001 -0600, Victor R. Cardona wrote:
> >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.
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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