dnsmasq.conf2 - money168/cobbler GitHub Wiki
/var/etc/dnsmasq.conf
domain-needed
bogus-priv
#no-hosts
#resolve-file=
#strict-order
#no-resolv
#no-poll
read-ethers
#bogus-nxdomain=
#server=/google.com/8.8.8.8
#local=/localnet/
#address=/demon.com/127.0.0.1
listen-address=127.0.0.1,192.168.1.54
#expand-hosts
#addn-hosts=/etc/dnsmasq.hosts.d
port=53
cache-size=500
#no-negcache
#dns-forward-max=1000
#domain=test.com
#default dhcp range
dhcp-range=192.168.1.0,porxy,255.255.255.0
#default dhcp host by mac , ip
- dhcp-host=00:0C:38:52:42:61,10.10.10.11
- dhcp-host=00:0C:38:52:43:62,10.10.10.12,infinite
#ignore host client
#dhcp-host=11:22:33:44:55:66,ignore
#dhcp-lease-max=150
#dhcp list
#dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
#option 3 default route, setup 10.10.10.1 gateway
#dhcp-option=3,192.168.1.254
enable-tftp
tftp-root=/var/ftpd
log-queries
log-dhcp