johnathonm
Regular Contributor
Hello there,
I was looking over the default configuration of Merlin's dnsmasq.conf file and was hoping that someone could explain several of the entries. I will post the conf:
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic - Excuse my noob question here but why would you use bind-dynamic over bind-interface? As
interface=br0
interface=pptp* - what is the purpose of this interface? If we delete it from the conf will it be gone completely in terms of dnsmasq seeing it or communicating with it?
no-dhcp-interface=pptp*
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
dhcp-range=lan,192.168.1.2,192.168.1.50,255.255.255.0,86400s
dhcp-option=lan,3,192.168.1.1
dhcp-option=lan,252,"\n"
dhcp-authoritative
interface=tun21 - what is the purpose of this interface? If we delete it from the conf will it be gone completely in terms of dnsmasq seeing it or communicating with it?
interface=tun22- what is the purpose of this interface? If we delete it from the conf will it be gone completely in terms of dnsmasq seeing it or communicating with it?
quiet-dhcp
quiet-dhcp6
I am just trying to shut down points of entry/exit whenever or wherever possible and I am unclear on what these are and how to do it (since DHCP and DNS services are being provided by DNSMASQ).
Thank you,
Johnathon
I was looking over the default configuration of Merlin's dnsmasq.conf file and was hoping that someone could explain several of the entries. I will post the conf:
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic - Excuse my noob question here but why would you use bind-dynamic over bind-interface? As
interface=br0
interface=pptp* - what is the purpose of this interface? If we delete it from the conf will it be gone completely in terms of dnsmasq seeing it or communicating with it?
no-dhcp-interface=pptp*
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
dhcp-range=lan,192.168.1.2,192.168.1.50,255.255.255.0,86400s
dhcp-option=lan,3,192.168.1.1
dhcp-option=lan,252,"\n"
dhcp-authoritative
interface=tun21 - what is the purpose of this interface? If we delete it from the conf will it be gone completely in terms of dnsmasq seeing it or communicating with it?
interface=tun22- what is the purpose of this interface? If we delete it from the conf will it be gone completely in terms of dnsmasq seeing it or communicating with it?
quiet-dhcp
quiet-dhcp6
I am just trying to shut down points of entry/exit whenever or wherever possible and I am unclear on what these are and how to do it (since DHCP and DNS services are being provided by DNSMASQ).
Thank you,
Johnathon