bmgz wrote:
I have a small prob. When my internet connection is down I have a delay when trying to resolve local hosts (eg. ssh myserver). This is strange as it seems that dnsmasq is trying to resolve upstream or something?

/etc/resolv.conf:
 search mylocaldomain.net
 nameserver 192.168.0.1 #(localhost)

/etc/dnsmasq.conf:
 filterwin2k
 expand-hosts
 bogus-priv
 domain-needed
 server=196.25.1.11 # Telkom DNS
 server=196.43.1.11 # Telkom BACKUP DNS
 dhcp-leasefile=/var/db/dhcpd.leases
 domain=mylocaldomain.net
 dhcp-range=192.168.0.2,192.168.0.24,48h
 except-interface=eth1


The quickest way to sort this out is to add

log-queries

to /etc/dnsmasq.conf

and check the logfile to see which query is stalling things.

Cheers,

Simon.


Reply via email to