Subject: Re: dhclient-script question regarding resolv.conf
To: Ian Thomas <ipthomas@mac.com>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-users
Date: 03/26/2004 14:33:29
On Mar 26,  2:24pm, ipthomas@mac.com (Ian Thomas) wrote:
-- Subject: Re: dhclient-script question regarding resolv.conf

| The contents of /etc/dhclient.conf
| 
| # DHCP setup options.
| interface "rtk0"
| {
| 	send host-name "my.domain.org";
|          	request subnet-mask, broadcast-address, routers, 
| domain-name-servers;
|          	require subnet-mask, domain-name-servers;
|          	script  "/sbin/dhclient-script";
| }

mine looks like:

timeout 60;
retry 120;
reboot 10;
select-timeout 10;
initial-interval 2;

interface "ep0" {
    supersede host-name "stinky.astron.com";
    supersede domain-name "astron.com gw.com";
    supersede nis-domain "";
    prepend domain-name-servers 127.0.0.1, 192.168.2.9;
    request subnet-mask, broadcast-address, routers,
        domain-name, domain-name-servers, host-name;
    require subnet-mask, routers;
    script "/sbin/dhclient-script";
}