Changeset 1550

Show
Ignore:
Timestamp:
04/06/10 08:50:20 (4 years ago)
Author:
ahu
Message:

add additional IPv6 hints, closing ticket 287, plus add some threading safety net to outgoing address selection

Location:
trunk/pdns/pdns
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/pdns_recursor.cc

    r1546 r1550  
    200200 
    201201vector<ComboAddress> g_localQueryAddresses4, g_localQueryAddresses6;  
    202 ComboAddress g_local4("0.0.0.0"), g_local6("::"); 
     202const ComboAddress g_local4("0.0.0.0"), g_local6("::"); 
    203203 
    204204//! pick a random query local address 
  • trunk/pdns/pdns/reczones.cc

    r1533 r1550  
    3737      "2001:503:ba3e::2:30", NULL, NULL, NULL, NULL, 
    3838      "2001:500:2f::f", NULL, "2001:500:1::803f:235", NULL, 
    39       "2001:503:c27::2:30", NULL, NULL, NULL 
     39      "2001:503:c27::2:30", "2001:7fd::1", "2001:500:3::42", "2001:dc3::35" 
    4040    }; 
     41     
    4142    DNSResourceRecord arr, aaaarr, nsrr; 
    4243    arr.qtype=QType::A;