diff options
-rw-r--r-- | src/etc/inc/dyndns.class | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index feefa93..c31c079 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -290,6 +290,10 @@ $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(); curl_setopt($ch, CURLOPT_HEADER, 0); |