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...

Reply via email to