[Dnsmasq-discuss] Using FQDNs in dhcp-host options

Fabiano Sidler fabianosidler at swissonline.ch
Fri Dec 11 11:52:49 GMT 2020


Hi folks!

I' using the following dhcp-host directive:
dhcp-host=00:50:56:bd:01:23,fullyqualified.domain.name,192.168.42.42

The IP address is properly assigned over DHCP, but when I query Dnsmasq:
$ dig @192.168.42.1 fullyqualified.domain.name
I get an NXDOMAIN answer. The question: is this intendet or should names in
dhcp-host directives normally become available and I have a misconfiguration
somewhere? The installation is an almost default one on Ubuntu 20.04.
I'd be happy with not having to specify hostnames twice in /etc/hosts AND as
a dhcp-host parameter.

Thanks in advance!

Greetings,
Fabiano



More information about the Dnsmasq-discuss mailing list