[pkg-dhcp-devel] Bug#598218: Name resolution not working in parameters specified in isc-dhcpd-server config

adam at spoontech.biz adam at spoontech.biz
Mon Sep 27 14:36:47 UTC 2010


Package: isc-dhcp-server
Version: 4.1.1-P1-9

Have specified names for router and dns server options in
/etc/dhcp/dhcpd.conf, and they dont seem to be applying to clients.

Config below:

ddns-update-style none;

default-lease-time 86400;
max-lease-time 129600;
authoritative;

log-facility local7;


subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.101 192.168.1.254;
    option routers router.example.local;
    option ntp-servers time.example.local;
    option domain-name "example.local";
    option domain-name-servers dns1.example.local;

    host machine-1 { hardware ethernet 00:00:00:00:00:00; fixed-address
machine-1; }
    host machine-2 { hardware ethernet 00:00:00:00:00:00; fixed-address
machine-2; }
    host machine-3 { hardware ethernet 00:00:00:00:00:00; fixed-address
machine-3; }
    host machine-4 { hardware ethernet 00:00:00:00:00:00; fixed-address
machine-4; }
    host machine-5 { hardware ethernet 00:00:00:00:00:00; fixed-address
machine-5; }
    host machine-6 { hardware ethernet 00:00:00:00:00:00; fixed-address
machine-6; }
    host machine-7 { hardware ethernet 00:00:00:00:00:00; fixed-address
machine-7; }
}

Service loads correctly, and I have monitored /var/log/messages, and all
seems to be working well. PCs get given IP addresses, but dont get gateway
or dns server options.

If I update the config above and change:

option routers router.example.local;
option domain-name-servers dns1.example.local;

TO

option routers 192.168.1.60;
option domain-name-servers 192.168.1.60;

Clients successfully receive these options.

Names are resolvable on the same server, as bind is currently running and
working.

Only seems to have failed in the last week, not sure if there was an
update to this package perhaps?

Current setup:

Linux dns1 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64
GNU/Linux

Debian squeeze/sid

Any help appreciated.

Cheers,






More information about the pkg-dhcp-devel mailing list