• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

2.2-RELEASE Dynamic DNS Euro DNS Not Updated

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
6 Posts 4 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    beeckmanso
    last edited by Feb 13, 2015, 6:56 PM

    Hello World,

    I can't update my IP on EuroDNS, my Login is Good, my Password is Good, my hostname is good.

    With my old pfsense 2.1 patched update correctly Eudo Dns.

    Some have the same trouble ?

    Thanks in advance

    Olivier

    1 Reply Last reply Reply Quote 0
    • B
      beeckmanso
      last edited by Feb 17, 2015, 5:59 PM

      There seems to be a problem with the eurodns certificate

      system error log
      /services_dyndns_edit.php: Curl error occurred: SSL certificate problem: unable to get local issuer certificat

      in /etc/inc/dyndns.class

      
                                      case 'eurodns':
                                              $needsIP = TRUE;
                                              if ($this->_dnsVerboseLog)
                                                      log_error("EuroDynDns ({$this->_dnsHost}) DNS update() starting.");
                                              curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass);
                                              $server = "https://eurodyndns.org/update/";
                                              $port = "";
                                              if($this->_dnsPort)
                                                      $port = ":" . $this->_dnsPort;
                                              curl_setopt($ch, CURLOPT_URL, $server .$port . '?hostname=' . $this->_dnsHost . '&myip=' . $this->_dnsIP);
                                              break;
      
      

      I've changed https://eurodyndns.org/update/ to http://eurodyndns.org/update/ that run but my login password are send without encryption !

      Developper team can do something ?

      Thanks Olivier

      1 Reply Last reply Reply Quote 0
      • G
        Gertjan
        last edited by Feb 18, 2015, 12:54 AM

        @beeckmanso:

        There seems to be a problem with the eurodns certificate
        …..
        Developper team can do something ?

        Probably.
        But it isn't a real show-stopper.

        Just take a browser - and visit https://eurodyndns.org/update/
        If you you Internet Explorer, you are just "warned", and no details. (make a note on the list entitled "why shouldn't I use this browser")
        Now, take another browser, let's say: FireFox. A nice warning box will open. Be dev'minded, and click on 'Show technical details' …. read .... and you problem is solved.
        Change

        $server = "https://eurodyndns.org/update/";
        

        for

        $server = "https://[b]update[/b].eurodyndns.org/update/";
        

        and your problem is probably solved  :)

        The certificate is valid for https://update.eurodyndns.org/update/ and https://www.update.eurodyndns.org/update/
        So, start deving your self  ;)

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by Feb 18, 2015, 11:53 AM

          and when you have working code in dyndns.class, go to:
          https://github.com/pfsense/pfsense/blob/master/etc/inc/dyndns.class
          and make the edits and submit a pull request.

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • S
            Stef
            last edited by Feb 23, 2015, 10:31 AM

            Changing the url doesn't completely fix it.

            After the url is changed the error returned is still the following :

            php-fpm[4410]: /services_dyndns_edit.php: Curl error occurred: SSL certificate problem: unable to get local issuer certificate

            Firefox / IE / Chrome don't give any warnings when surfing to the correct url.

            When surfing for the Curl error there are 2 options recomended :

            • Skip verification.
            • Add root certificate.

            At this time I chose to skip the verification and I've added the following line.

            However don't really like the solution…

            If anybody else has a better fix ?

            I've changed the code as following:

            case 'eurodns':		
            					$needsIP = TRUE;
            					if ($this->_dnsVerboseLog)
            						log_error("EuroDynDns ({$this->_dnsHost}) DNS update() starting.");
            					curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass);
            					curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
            					$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;
            
            

            I'll make a github checkin

            1 Reply Last reply Reply Quote 0
            • G
              Gertjan
              last edited by Feb 23, 2015, 11:21 AM

              This https://github.com/pfsense/pfsense/pull/1508/files isn't yours ??

              I'll post in git to tack the attention back here.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received