Because the DHCP "name-server" attribute (option 6) carries only an IP address and not a port, this isn't going to work. The DHCP clients simply aren't written to configure DNS on any port other than 53.
Now, if your intent is for DHCP clients to use a different DNS server on the same host, one that is listening on port 53, all you need to do is to add the following line to your configuration (dnsmasq treats 0.0.0.0 as a placeholder for "its own address") dhcp-option=6,0.0.0.0 On Sat, Jun 30, 2018 at 8:39 AM, Gordon Hsiao <capcod...@gmail.com> wrote: > If in my dnsmasq.conf I used a different port other than 53 for dns, > dnsmasq never assigns DNS server to my dhcp clients, is this a feature or a > bug? for port 53 everything works as expected, of course. > > Thanks, > Gordon > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasqfirstname.lastname@example.org > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > >
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasqemail@example.com http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss