Where doing a dynamic DNS update on IPv4, force curl to resolve IPv4 IPs. Ticket #3858

This commit is contained in:
Chris Buechler 2015-10-03 00:07:00 -05:00
parent 2cf5f94a6f
commit 23ec30ee67

View File

@ -274,6 +274,10 @@
} else {
$realparentif = $this->_dnsRequestIf;
}
if ($this->_useIPv6 == false) {
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
}
if ($this->_dnsService != 'ods' and $this->_dnsService != 'route53 ') {
$ch = curl_init();