Project

General

Profile

« Previous | Next » 

Revision 23ec30ee

Added by Chris Buechler over 9 years ago

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

View differences:

etc/inc/dyndns.class
274 274
			} else {
275 275
				$realparentif = $this->_dnsRequestIf;
276 276
			}
277

  
278
			if ($this->_useIPv6 == false) {
279
				curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
280
			}
277 281
			
278 282
			if ($this->_dnsService != 'ods' and $this->_dnsService != 'route53 ') {
279 283
				$ch = curl_init();

Also available in: Unified diff