Navigation

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

    Dynamic DNS broken in Pfsense 2.1.5

    DHCP and DNS
    2
    3
    980
    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.
    • C
      Craig0 last edited by

      Getting the following errors when attempting to setup dynamic DNS (I use DNS Exit)

      Dec 23 02:02:07 php: /services_dyndns_edit.php: DynDns: updatedns() starting
      Dec 23 02:02:07 php: /services_dyndns_edit.php: DynDns (mydomainname.com): x.x.x.x extracted from local system.
      Dec 23 02:02:07 php: /services_dyndns_edit.php: DynDNS (mydomainname.com): running get_failover_interface for wan. found em0
      Dec 23 02:02:07 php: /services_dyndns_edit.php: DynDNS (mydomainname.com): DynDns _update() starting.
      Dec 23 02:02:07 php: /services_dyndns_edit.php: DynDNS (mydomainname.com): DynDns _checkStatus() starting.
      Dec 23 02:02:07 php: /services_dyndns_edit.php: DynDNS (mydomainname.com): Current Service: dnsexit
      Dec 23 02:02:07 php: /services_dyndns_edit.php: Curl error occurred: SSL certificate problem: unable to get local issuer certificate

      Thanks

      1 Reply Last reply Reply Quote 0
      • C
        cmb last edited by

        2.1x doesn't have ca_root_nss and when dnsexit was changed to use HTTPS there wasn't an option added to disable cert verification. In 2.2, that all just works. For 2.1.5, you can edit /etc/inc/dyndns.class and below this line:

        case 'dnsexit':
        

        add a new line with the following:

        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
        

        when you upgrade to 2.2 that'll be overwritten and it'll work normally with proper cert verification.

        1 Reply Last reply Reply Quote 0
        • C
          Craig0 last edited by

          Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy