You are not logged in.
I've setup dnsmasq per the wiki: http://wiki.archlinux.org/index.php/Dnsmasq. I only need to use it for DNS caching. DHCP setup is done by net-profiles.
My /etc/dsnmasq.conf has only two lines that are not comments:
listen-address=127.0.0.1
log-queries
My /etc/dhcpd.conf.head has the following line:
nameserver 127.0.0.1
And dnsmasq is the 2nd item in the DAEMONS section of /etc/rc.conf, right after net-profiles.
However, when I issue:
sudo pkill -USR1 dnsmasq
sudo tail /var/log/messages.log
,
I can see that none of my DNS queries are being run locally.
What may I have missed? What else can I check to see where the failure is occuring?
The world is full of tough guys. It does not need me to be one, too.
Offline
I believe it should be resolv.conf.head, not dhcpd.conf.head. Test with dig.
Last edited by lucke (2009-08-19 06:51:55)
Offline
I believe it should be resolv.conf.head, not dhcpd.conf.head.
You're absolutely right. That's what I meant. That's my resolv.conf.head up there.
dig www.google.com | grep "Query time"
returns 85 msec the first time
dig www.google.com | grep "Query time"
returns 1 msec.
- It appears to be working today. Not sure what changed or how, but last night there were 0 queries being handled locally.
The world is full of tough guys. It does not need me to be one, too.
Offline