How can I run dnsmasq DHCP/TFTP-only.

I mean disable DNS caching feature.
dnsmasq required by lxc to configure network, but I prefer to use bind, to provide DHCP resolver.
So use force, Luke! I mean read man.

-p, --port=<port>

Listen on <port> instead of the standard DNS port (53). Setting this to zero completely disables DNS function, leaving only DHCP and/or TFTP.

vi /etc/dnsmasq.d/lxc
port=0

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>