[Dnsmasq-discuss] Name found in /etc/hosts forwarded for AAAA
simon at thekelleys.org.uk
Tue Dec 13 10:04:57 GMT 2011
On 12/12/11 08:54, Schneidhuber, Bruno wrote:
> even if dnsmasq finds a name in /etc/hosts, it forwards a name query to
> the real dns server. These servers dont't find the name and the name
> query doesn't return until the query to the real servers times out.
> As I understand from mails from the archive this is to query the AAAA
> Record and this behaviour is intended.
> For severel reasons I have a lot of IPv4-only /etc/hosts. So this
> behaviour isn't desirable for me.
> Until now I changed the source code, but I don't want to do this for
> every release.
> Now two questions:
> - Is there a posibility to stop this behaviour?
Are all the names in the same domain?
will stop all forwarding for *.mydomain.com. A and AAAA requests, but
not block A record answers that come from /etc/hosts.
I realise that this useless advise, if you don't have control, but the
real nameservers shouldn't be taking a long time to time out on AAAA
queries, so getting them fixed may be a solution.
> - Did I wrote complete nonsens?
No, but it's possible that you have missed the real problem: is the long
timeout a result of a client getting an IPv6 answer and then attempting
to make an IPv6 connection to a server? If that's the problem then
disabling IPv6 in the network configuration (or making it work) may be a
> Mit freundlichen Grüßen
> *Bruno Schneidhuber*
> Teamleiter Entwicklung Systemintegration
> PHARMATECHNIK GmbH & Co. KG
> Geschäftsstelle Passau, Neuburger Straße 128, 94036 Passau
> Tel.: +49 851 98865-0, Fax: +49 851 98865-198
> b.schneidhuber at pharmatechnik.de,
> <mailto:b.schneidhuber at pharmatechnik.de> www.pharmatechnik.de
> PHARMATECHNIK GmbH und Co. KG
> Münchner Strasse 15
> D-82319 Starnberg
> Sitz der Gesellschaft: Starnberg
> HRA: 64434, HRB: 66369, Amtsgericht München
> Geschäftsführer: Dr. Detlef Graessner, Dr. Mathias Schindl, Stephan Jörgens
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss