[Dnsmasq-discuss] Is dnsmasq supposed to listen on UDP port 0.0.0.0:67 when listen-address is specified?

Parke parke.nexus at gmail.com
Thu Dec 21 02:40:10 GMT 2017


Hi,

Here is a minimal, three line test.conf file:

listen-address=192.168.0.22
bind-interfaces
dhcp-range=192.168.0.80,192.168.0.99,12h

When I run it, I get:

# sudo dnsmasq -C test.conf -d
dnsmasq: started, version 2.76 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP
DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
dnsmasq-dhcp: DHCP, IP range 192.168.0.80 -- 192.168.0.99, lease time 12h
dnsmasq: reading /etc/resolv.conf
dnsmasq: ignoring nameserver 192.168.0.22 - local interface
dnsmasq: read /etc/hosts - 5 addresses

And:

# sudo netstat -lnp | grep dnsmasq
tcp        0      0 192.168.0.22:53         0.0.0.0:*
LISTEN      7094/dnsmasq
udp        0      0 192.168.0.22:53         0.0.0.0:*
         7094/dnsmasq
udp        0      0 0.0.0.0:67              0.0.0.0:*
         7094/dnsmasq
----

Is it possible to bind port 67 to the listen-address?  If so, how?

Thanks!

-Parke



More information about the Dnsmasq-discuss mailing list