mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Every socket which is based on CZNCSock will now use c-ares for its name resolving. This is possible thanks to CSocket's Csock::GetAddrInfo() which lets one override the DNS lookup. This can be disabled with --disable-c-ares. If IPv6 is enabled and Csocket didn't specify which kind of lookup (ipv4/ipv6) it wants, we first do an ipv4 lookup. If that lookup doesn't yield any useful result, we try again with an ipv6 lookup. If one wants to force ipv6 usage on a domain which also resolves to an ipv4 address, he has to set an ipv6 vhost. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1551 726aef4b-f618-498e-8847-2d620e286838
4.9 KiB
4.9 KiB