LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dnsmasq not caching for my domains (https://www.linuxquestions.org/questions/linux-networking-3/dnsmasq-not-caching-for-my-domains-623543/)

exscape 02-24-2008 03:38 PM

dnsmasq not caching for my domains
 
Kind of odd. The caching seems to work great for all domains, except those that I own! I can't figure out why. All but one go to the same IP - the box running dnsmasq - but I have a subdomain to another IP that also doesn't cache.

Quote:

# My domain
exscape sbin # while :; do dig supernova.exscape.org | grep 'Query time'; sleep 1; done
;; Query time: 45 msec
;; Query time: 42 msec
;; Query time: 49 msec
;; Query time: 48 msec

# My domain
exscape sbin # while :; do dig fdiv.org | grep 'Query time'; sleep 1; done
;; Query time: 86 msec
;; Query time: 45 msec
;; Query time: 59 msec
;; Query time: 58 msec

# The following are obviously not mine

exscape sbin # while :; do dig linuxquestions.org | grep 'Query time'; sleep 1; done
;; Query time: 0 msec
;; Query time: 0 msec
;; Query time: 0 msec
;; Query time: 0 msec

exscape sbin # while :; do dig lkml.org | grep 'Query time'; sleep 1; done
;; Query time: 36 msec
;; Query time: 0 msec
;; Query time: 0 msec
;; Query time: 0 msec
Any ideas? Not a big deal, you might say, but I run smokeping towards the first mentioned address - which causes 4 DNS lookups every 5 seconds. No point in harassing my ISP like that. ;)
I've changed the smokeping config to the IP for now, but it's a dynamic IP so I'd rather have the DNS cache working properly.

Also, as I said, I can't figure out why - or where to start, so I don't know what kind of details to offer. Except...
/etc/resolv.conf contains quite simply "nameserver 127.0.0.1"
dnsmasq 2.41

Thanks in advance :)

EDIT: What the heck... After some more troubleshooting using dig, I noticed that the TTL of all my domains seems to be 0! Off to check out the DNS control panel.
... Yep, that was it. Probably something caused by EditDNS's (my DNS provider) migration to bind or something.


All times are GMT -5. The time now is 11:32 PM.