OPNsense
  • 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 2216 times)

spottaaja1

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
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
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2