Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33089 - dnsmasq doesn't cache addresses
Attached to Project:
Arch Linux
Opened by Linus Zielony (Zielony) - Thursday, 13 December 2012, 22:11 GMT
Last edited by Dave Reisner (falconindy) - Friday, 14 December 2012, 17:31 GMT
Opened by Linus Zielony (Zielony) - Thursday, 13 December 2012, 22:11 GMT
Last edited by Dave Reisner (falconindy) - Friday, 14 December 2012, 17:31 GMT
|
DetailsDescription:
dnsmasq, which is running and properly configured, doesn't cache DNS addresses. Each query sent to dnsmasq server causes querying external DNS server. Prove: https://bbs.archlinux.org/viewtopic.php?pid=1205520 Additional info: * package version: 2.64-1 Steps to reproduce: Use dig to see query time about address which should be cached after previous query. |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 14 December 2012, 17:31 GMT
Reason for closing: Fixed
Additional comments about closing: extra/dnsmasq-2.65
Friday, 14 December 2012, 17:31 GMT
Reason for closing: Fixed
Additional comments about closing: extra/dnsmasq-2.65
Dec 13 22:31:01 localhost dnsmasq[20224]: cache size 1000, 0/28 cache insertions re-used unexpired cache entries.
Dec 13 22:31:01 localhost dnsmasq[20224]: queries forwarded 6, queries answered locally 0
Dec 13 22:31:01 localhost dnsmasq[20224]: server xxx.xxx.xxx.xxx#53: queries sent 2, retried or failed 0
Dec 13 22:31:01 localhost dnsmasq[20224]: server xxx.xxx.xxx.xxx#53: queries sent 2, retried or failed 0
Dec 13 22:31:01 localhost dnsmasq[20224]: server xxx.xxx.xxx.xxx#53: queries sent 2, retried or failed 0
Dec 13 22:31:01 localhost dnsmasq[20224]: server xxx.xxx.xxx.xxx#53: queries sent 6, retried or failed 0
Dec 13 22:31:01 localhost dnsmasq[20224]: server xxx.xxx.xxx.xxx#53: queries sent 2, retried or failed 0
Dec 13 22:31:01 localhost dnsmasq[20224]: server xxx.xxx.xxx.xxx#53: queries sent 2, retried or failed 0
All queries were made about the same address so only 1 query should have been forwarded.
Searching on google doesn't seem to yield any relevant results. I don't know when this might have stated to happen, only noticed it after seeing the forum thread about it.
Resolving addresses specified in "extra" host files works as expected. I don't use the dhcp or sftp server functionality so I can't say if something is broken there.
Edit:
I have confirmed with wireshark that dns requests are actually being made and not being served from cache.