[pkg-dhcp-devel] Bug#715036: [ISC-Bugs #34096] Re: ddns-hostname problems - DDNS updates not sent

Daniel Pocock daniel at pocock.com.au
Wed Jul 10 16:51:45 UTC 2013


On 10/07/13 17:56, Daniel Pocock wrote:
> I've found that if I send a full FQDN in fqdn.fqdn and put this on the
> server:
>
> ddns-hostname = option fqdn.fqdn;
> ddns-domainname "";
>
> then it does work for me.  So I have a working solution, but it appears
> to be very rigid.
>
> Many existing clients (e.g. Debian and Ubuntu) just send the "host-name"
> option so it would be really nice to see that working.  Should those
> other permutations work, or is it only possible to use fqdn.fqdn?

I've also verified one other permutation:

dhclient.conf:

send fqdn.fqdn = gethostname();

dhcpd6.conf:

ddns-hostname = option fqdn.fqdn;
ddns-domainname "example.org";


This also works, but it seems wrong to have the unqualified hostname in
fqdn.fqdn.  However, Ubuntu temporarily tried that and then stopped
doing it:

https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1088682


Ideally, dhcpd6 should be able to accept the "option host-name" value
sent by Debian and Ubuntu and it's not clear why it doesn't accept that
value



More information about the pkg-dhcp-devel mailing list