[rešeno] Dnsmasq na Debianu
Matthai
Član
Na Debian GNU/Linux 7 sem namestil Dnsmasq. Konfiguracija je naslednja:
V /etc/dnsmasq.conf sem dodal:
resolv-file=/etc/dnsmasq.d/resolv.conf
addn-hosts=/etc/dnsmasq.d/hosts.conf
cat /etc/dnsmasq.d/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
cat /etc/dnsmasq.d/hosts.conf
192.168.88.200 server1
192.168.88.201 server2
Ko zadevo zaženem, se zgodi tole:
service dnsmasq start
[....] Starting DNS forwarder and DHCP server: dnsmasq
dnsmasq: bad option at line 1 of /etc/dnsmasq.d/resolv.conf
failed!
Kakšna ideja kaj je narobe?
V /etc/dnsmasq.conf sem dodal:
resolv-file=/etc/dnsmasq.d/resolv.conf
addn-hosts=/etc/dnsmasq.d/hosts.conf
cat /etc/dnsmasq.d/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
cat /etc/dnsmasq.d/hosts.conf
192.168.88.200 server1
192.168.88.201 server2
Ko zadevo zaženem, se zgodi tole:
service dnsmasq start
[....] Starting DNS forwarder and DHCP server: dnsmasq
dnsmasq: bad option at line 1 of /etc/dnsmasq.d/resolv.conf
failed!
Kakšna ideja kaj je narobe?
Komentarji
[16:44:32] Matthai: dnsmasq.d je poseben direktorij, kjer ne moreš dajati svojih configov :-/