]> git.ipfire.org Git - thirdparty/squid.git/commit
Use IPv6 localhost nameserver on DNS configuration errors
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 3 Oct 2013 11:17:30 +0000 (05:17 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 3 Oct 2013 11:17:30 +0000 (05:17 -0600)
commitbec1c521c1f503a2cc359d795bc812f65f0cf94a
tree3ab91e343c3cf520ebebbc9c53d37756354ac260
parent6a60eab2a4a485153ed4bbe8807d6fc2acb916b1
Use IPv6 localhost nameserver on DNS configuration errors

When DNS configuration fails to locate a set of nameservers "localhost"
is used as the default but has previously only been setting 127.0.0.1
IPv4 address for localhost. This enables the failover to work as
designed on IPv6-only networks.
src/dns_internal.cc