J
J
Janus742016-02-23 19:35:36
linux
Janus74, 2016-02-23 19:35:36

How to specify WINS server in dnsmasq?

Hello!
I encountered such a problem, if you specify parameter 44 in the dnsmasq config, then the service does not start, referring to a syntax error, but I can’t understand what the error is. Tell me please.

Restarting DNS forwarder and DHCP server configuration syntax check [ fail]
dnsmasq: bad dhcp-option at line 17 of /etc/dnsmasq.conf [fail]

log-facility=/var/log/dnsmasq.log
log-async=25
interface=eth1
interface=eth2
domain-needed
#stop-dns-rebind
rebind-localhost-ok
clear-on-reload
#nameserver 127.0.0.1
dhcp-leasefile=/var/lib/dnsmasq.leases
log-dhcp
#local dhcp VLAN 1
dhcp-range=interface:eth2,192.168.0.100,192.168.0.254,24h
dhcp-option=interface:eth2,option:dns-server,192.168.0.1
dhcp-option=interface:eth2,option:ntp-server,192.168.0.1
dhcp-option=interface:eth2,option:router,192.168.0.1
dhcp-option=interface:eth2,option:44,192.168.0.99
#dhcp-host=10:78:D2:85:1D:FE,192.168.0.111
# компьютер Julia
#dhcp-host=3C:4A:92:B8:1B:2A,192.168.0.102
# принтер на рецепции
#dhcp-host=84:C9:B2:7B:91:F4,192.168.0.251
# принт сервер
#dhcp-host=00:25:22:33:BC:56,192.168.0.189
#компьютер

#wi-fi network VLAN 3
dhcp-range=interface:eth1,192.168.30.20,192.168.30.254,5h
dhcp-option=interface:eth1,option:dns-server,192.168.30.1
dhcp-option=interface:eth1,option:ntp-server,192.168.30.1
dhcp-option=interface:eth1,option:router,192.168.30.1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alegzz, 2016-02-23
@Janus74

dhcp-option=interface:eth2,44,192.168.0.99
and so?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question