Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Here's a fix for DynDNS EuroDNS for Multi-WAN setups
« previous
next »
Print
Pages: [
1
]
Author
Topic: Here's a fix for DynDNS EuroDNS for Multi-WAN setups (Read 2212 times)
spottaaja1
Newbie
Posts: 5
Karma: 0
Here's a fix for DynDNS EuroDNS for Multi-WAN setups
«
on:
June 14, 2019, 10:52:58 am »
Hello!
Had to add the --interface option for curl to get EuroDNS working on my Multi-WAN setup. See
red bolded
below.
case 'eurodns':
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass);
curl_setopt($ch, CURLOPT_INTERFACE, $this->_dnsIP);
$server = "
https://update.eurodyndns.org/update/
";
$port = "";
if ($this->_dnsPort) {
$port = ":" . $this->_dnsPort;
}
curl_setopt($ch, CURLOPT_URL, $server .$port . '?hostname=' . $this->_dnsHost . '&myip=' . $this->_dnsIP);
break;
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Here's a fix for DynDNS EuroDNS for Multi-WAN setups