You are not logged in.

#1 2012-12-13 15:16:24

Zielony
Member
From: Poznań, Poland
Registered: 2011-04-28
Posts: 20

[SOLVED] dnsmasq doesn't cache addresses

I don't know how old is the problem, because I didn't care about DNS caching for long time, but dnsmasq doesn't make this any longer. The problem occurs at two machines with up to date Arch. The service is running:

dnsmasq   2523  0.0  0.0   2852  1284 ?        Ss   15:29   0:00 /usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file

I tried newer .pacnew config (adding listen address, of course) and it didn't change anything. Although I'm almost sure I'm using my local DNS server, because dig shows:

;; Query time: 42 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Dec 13 16:11:36 2012
;; MSG SIZE  rcvd: 50

I can't see any logs in /var/log/*. I could not achieve query time lower than about 40 ms. When dnsmasq was working, it was usually 1 ms. If I disconnect Ethernet cable, the dig stops (but it should read from cache). I think the package is broken.

Last edited by Zielony (2012-12-14 20:28:11)

Offline

#2 2012-12-13 20:26:34

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] dnsmasq doesn't cache addresses

I can confirm that. Requests do actually go out for every query, it isn't just some glitch with measuring the query time.

Feel free to open a bug report, I'll chime in after I look at it a bit more.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2012-12-13 22:11:54

Zielony
Member
From: Poznań, Poland
Registered: 2011-04-28
Posts: 20

Re: [SOLVED] dnsmasq doesn't cache addresses

R00KIE wrote:

I can confirm that. Requests do actually go out for every query, it isn't just some glitch with measuring the query time.

Feel free to open a bug report, I'll chime in after I look at it a bit more.

https://bugs.archlinux.org/index.php?do … k_id=33089

Offline

#4 2012-12-14 14:42:32

JimboP
Member
From: UK
Registered: 2005-01-14
Posts: 22

Re: [SOLVED] dnsmasq doesn't cache addresses

2.65 has just been released which looks like it fixes the problem.

Offline

Board footer

Powered by FluxBB