dopaafter.blogg.se

Dnsmasq nameserver
Dnsmasq nameserver













dnsmasq nameserver

Oct 7 23:19:30 dnsmasq: failed to load names from /etc/hosts: Permission denied Oct 7 23:19:30 dnsmasq: failed to access /tmp/: Permission denied Oct 7 23:19:30 dnsmasq: using local addresses only for domain lan Oct 7 23:19:30 dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP Oct 7 23:19:30 dnsmasq: started, version 2.55 cachesize 150 It works fine when I add the no-daemon option to /etc/nf, and so what I think is happening is that when it drops privleges and capabilities after the fork, it loses the ability to read those cat /var/log/dnsmasq.log What I'm seeing is that dnsmasq is running as nobody, but the /tmp/ and several other files are owned by root. Jan 1 00:00:01 rk1 dnsmasq: read /etc/hosts - 1 addresses Jan 1 00:00:01 rk1 dnsmasq: reading /tmp/ Jan 1 00:00:01 rk1 dnsmasq: using local addresses only for domain lan Jan 1 00:00:01 rk1 dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP

dnsmasq nameserver

Jan 1 00:00:01 rk1 dnsmasq: started, version 2.52 cachesize 150 Jan 1 00:00:01 rk1 dnsmasq: exiting on receipt of SIGTERM One second difference and it date -s " 00:00:01" echo "nameserver 2.2.2.2" > /tmp/ /etc/init.d/dnsmasq restart Jan 1 00:00:00 rk1 dnsmasq: read /etc/hosts - 1 addresses Jan 1 00:00:00 rk1 dnsmasq: using local addresses only for domain lan Jan 1 00:00:00 rk1 dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP Jan 1 00:00:00 rk1 dnsmasq: started, version 2.52 cachesize 150 Jan 1 00:00:00 rk1 dnsmasq: exiting on receipt of SIGTERM Oh, yes, check the following differences:ĭate -s " 00:00:00" echo "nameserver 2.2.2.2" > /tmp/ /etc/init.d/dnsmasq restart















Dnsmasq nameserver