[Dnsmasq-discuss] Can I specify the DNS address returned by DHCP?
john doe
johndoe65534 at mail.com
Thu Feb 4 16:20:37 UTC 2021
On 2/4/2021 4:25 PM, Vallevand, Mark K wrote:
> I don't want dnsmasq to do DNS. Nor do I want it to do any kind of forward
> or relay.
>
> I want to specify the address of my DNS to be returned as the giaddr in the
> DHCP offer.
>
You would need to first disable Dnsmasq's DNS capability by setting
'--port' to '0' ('--port=0'.
Then using the dhcp-option (6) '--dhcp-option=dns-server:<IP>'.
Substitute <IP> by the desired DNS IP server.
--
John Doe
More information about the Dnsmasq-discuss
mailing list