domain=wiwynn.com ##Random IP #dhcp-range=172.16.0.201,172.16.0.300 ##Only static IP dhcp-range=172.16.0.0,static ##Router #dhcp-option=3,172.16.0.1 dhcp-option=option:router,172.16.0.1 ##Name server #dhcp-option=6,172.16.0.1 dhcp-option=option:dns-server,172.16.0.1 ##NTP server #dhcp-option=42,172.16.0.1 dhcp-option=option:ntp-server,172.16.0.1 dhcp-lease-max=1000 dhcp-authoritative ##Bootp dhcp-boot=pxelinux.0,172.16.0.1 ##Static IP and hostname to MAC address dhcp-host=00:26:2d:09:5e:c6,172.16.0.101,juju1 ##Forward domain archive.ubuntu.com query to 8.8.8.8 server=/archive.ubuntu.com/8.8.8.8 ##Bind all host in main.wiwynn.com to 172.16.0.1 address=/main.wiwynn.com/172.16.0.1
Check option parameter:
sudo dnsmasq --help dhcp
沒有留言:
張貼留言