All pastes #702504 Raw Copy code Copy link Edit

Stuff

public unlisted text v1 · immutable
#702504 ·published 2007-09-18 21:53 UTC
rendered paste body
# syslog facility
log-facility local4;

# we will NAK "wrong" IPs
authoritative;

# Enable omapi
omapi-port 7611;

option domain-name-servers blah;
option netbios-name-servers blah;
option netbios-node-type 8;
option ntp-servers blah;

# Turn off DDNS updates
ddns-updates off;
ddns-update-style ad-hoc;
ignore client-updates;

use-host-decl-names FALSE;
get-lease-hostnames FALSE;

# normal lease time is 72 hours
# Don't let anything by shorter than ten minutes
min-lease-time 600;
default-lease-time 259200;
max-lease-time 259200;

group {
        # datacentre
        default-lease-time 129600;
        max-lease-time 259200;
        option domain-name-servers blah;
        # ICT services [Private]
        subnet 192.168.x.0 netmask 255.255.254.0 {
                # manual gateway
                option routers 192.168.x.1;
                # dynamic pool
                pool {
                        default-lease-time 28800;
                        max-lease-time 43200;
                        # this group allows unknown macs to get dynamics
                        allow unknown clients;
                        allow known clients;
                        range 192.168.x.10 192.168.x.200;
                }
        }
}

# then lots and lots of...
host 192.168.x.201 { hardware ethernet aa-bb-cc-dd-ee-ff; option host-name "foo"; option domain-name "example.com"; fixed-address 192.168.x.201; }
host aa-bb-cc-dd-ee-ff { hardware ethernet aa-bb-cc-dd-ee-ff; option host-name "foo"; option domain-name "example.com"; }