[squid3-ipv6] dns_internal.cc

From: Rafael Martinez \(Squid development\) <rmartine@dont-contact.us>
Date: Sun, 25 Nov 2007 23:36:41 +0100

The lasts tests on SNMP seems to work when --disable-dns-internal

I gues there is a typo around dns_internal.cc

#if USE_IPV6
    if(q->need_A && (Config.onoff.dns_require_A == 1 || n <= 0 ) )
    {
        /* ERROR or NO AAAA exist. Failover to A records. */

imasd.ipv6.elmundo.es will fire an error, even with n=4 ...

host -t AAAA imasd.ipv6.elmundo.es
imasd.ipv6.elmundo.es has IPv6 address 2001:450:9:10::115
imasd.ipv6.elmundo.es has IPv6 address 2001:800:400:10::71
imasd.ipv6.elmundo.es has IPv6 address 2001:800:400:10::115
imasd.ipv6.elmundo.es has IPv6 address 2001:450:9:10::71

Should it be fixed to ? recall the && instead of || .

---
>     if(q->need_A && (Config.onoff.dns_require_A == 1 && n <= 0 ) )
Even with that, ipcache.cc seems to have problems with canonical
names...
For the time beeing, I will compile squid3-ipv6 with
--disable-dns-internal...
Received on Sun Nov 25 2007 - 15:36:48 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST