[Dnsmasq-discuss] Using FQDNs in dhcp-host options
john doe
johndoe65534 at mail.com
Fri Dec 11 14:43:52 GMT 2020
On 12/11/2020 12:52 PM, Fabiano Sidler wrote:
> 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.
>
As far as I understand it, hostname should be used instead of FQDN.
--
John Doe
More information about the Dnsmasq-discuss
mailing list