Project

General

Profile

« Previous | Next » 

Revision becd6caa

Added by Chris Buechler almost 10 years ago

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

View differences:

src/etc/inc/dyndns.class
290 290
				$realparentif = $this->_dnsRequestIf;
291 291
			}
292 292

  
293
			if ($this->_useIPv6 == false) {
294
				curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
295
			}
296

  
293 297
			if ($this->_dnsService != 'ods' and $this->_dnsService != 'route53 ') {
294 298
				$ch = curl_init();
295 299
				curl_setopt($ch, CURLOPT_HEADER, 0);

Also available in: Unified diff