DDNS with host declarations
Jan Engelhardt
jengelh at linux01.gwdg.de
Sun Oct 29 08:39:12 UTC 2006
>I think if you read this thread:
> http://marc.theaimsgroup.com/?l=dhcp-server&m=114048743622197&w=2
>you'll be set.
That page says "If the client supplies a hostname to dhcpd when it is
requesting an IP, dhcpd updates the zone file. very good." And that's
not happening for me (using ISC DHCPD v3.0.2).
This is the /var/log/messages output when not using a host{} declaration
at all (in which case the rest of dhcpd.conf will handle dynamic
allocation and ddns):
DHCPDISCOVER from 00:14:d1:8b:a2:db via br0
DHCPOFFER on 172.16.61.92 to 00:14:d1:8b:a2:db (lp-brhl5040) via br0
Added new forward map from lp-brhl5040.site to 172.16.61.92
added reverse map from 92.61.16.172.in-addr.arpa. to lp-brhl5040.site
DHCPREQUEST for 172.16.61.92 (172.16.60.2) from 00:14:d1:8b:a2:db (lp-brhl5040)
DHCPACK on 172.16.61.92 to 00:14:d1:8b:a2:db (lp-brhl5040) via br0
However, if given the host{} declaration, this is in messages:
DHCPDISCOVER from 00:14:d1:8b:a2:db via br0
DHCPOFFER on 172.16.60.11 to 00:14:d1:8b:a2:db via br0
DHCPREQUEST for 172.16.60.11 (172.16.60.2) from 00:14:d1:8b:a2:db via br0
DHCPACK on 172.16.60.11 to 00:14:d1:8b:a2:db via br0
And no zone updating is done. The host can only be reached by IP
address.
>-----Original Message-----
>From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On Behalf
>Of Jan Engelhardt
>Sent: Saturday, October 28, 2006 4:51 PM
>To: dhcp-users at isc.org
>Subject: DDNS with host declarations
>
>Hello,
>
>
>when dhcpd.conf contains a host declaration, such as
>
> host foobar {
> fixed-address 192.168.234.2;
> hardware ethernet 00:aa:bb:cc:dd:ee;
> }
>
>then no DDNS update takes place at all. How can I achieve that
>
> (a) DDNS updates are made, according to a fixed hostname (set in
> dhcpd.conf)
>
> (b) DDNS updates are made, according to the preferred hostname
> a client sent (in case it sent one)
-`J'
--
More information about the dhcp-users
mailing list