分类: 网络与安全
2014-12-26 13:48:54
resolv-file=/etc/resolv.dnsmasq.conf server=/testdns.com/172.16.0.1 address=/192.168.0.12 interface=p3p1 listen-address=127.0.0.1,172.16.0.1 bind-interfaces addn-hosts=/etc/dnsmasq.host dhcp-range=172.16.0.30,172.16.1.254,255.255.128.0,30m dhcp-host=B8:EE:65:D2:F9:B4,fred,172.16.1.139 dhcp-option=3,172.16.0.1 dhcp-option=19,0 # option ip-forwarding off dhcp-option=44,0.0.0.0 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s) dhcp-option=45,0.0.0.0 # netbios datagram distribution server dhcp-option=46,8 # netbios node type dhcp-lease-max=500 dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases cache-size=1000 dhcp-option=252,"\n"
dnsmasq --help dhcp