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

    Help With Dynamic DNS?

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 725 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.
    • X
      XrayDoc88
      last edited by

      My questions will probably seem out of place for a pfSense forum, but here goes!

      I have my domain registered with GoDaddy. In pfSense I was able to setup dynamic DNS successfully using the GoDaddy drop down option. It works great. I obtained my "API Key" and "API Secret" from GoDaddy and entered my host name, done!

      Now I'd like to do the same thing on a hardware router that doesn't have a GoDaddy drop down menu, but does have a "custom" option. I've entered the same API Key and API Secret. I've entered the host name. But the custom page also has "Dynamic DNS Server" and "Request" fields to populate. I don't know what these might be. I assumed they would be specific to GoDaddy so I contacted them. No help. Could these two fields be specific to pfSense? Were they filled in automatically in pfSense when I chose the GoDaddy drop down menu in my pfSense router?

      Does anyone know what I should enter in these two fields to make Dynamic DNS work, like it already works in pfSense?

      Thanks!

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @XrayDoc88
        last edited by

        @xraydoc88
        Have a look at the documentation ๐Ÿ˜Š
        ( remember : "open source" )

        Look here : https://github.com/pfsense/pfsense/blob/master/src/etc/inc/dyndns.class after line 1195.

        Why it is done like this ?
        Because the Godaddy API told us to so : see https://developer.godaddy.com/doc/endpoint/domains#/v1/recordReplaceTypeName

        So https://developer.godaddy.com/doc/endpoint/domains#/v1/recordReplaceTypeName

        pfSense 'knows' about how to handle DoDaddy's DynDNS because some one has read the API, and wrote some PHP script to deal with it.

        @xraydoc88 said in Help With Dynamic DNS?:

        they would be specific to GoDaddy so I contacted them

        By calling ? ๐Ÿ˜Š Don't.

        "Dynamic DNS Server" is probably the "https://api.godaddy.com"
        The request, is something like "/v1/"your-domain"/"type"/"host name".
        type is A or AAAA
        host name is your host name.
        Then the entire http header is constructed - your IS is there also.
        And a json structure is added as the body, with a minimal IP and TTL data.

        If this http request returns "200" then you know it succeeded, just like a real web browser.

        And yeah, every DynDNS supplier can do this 'its own way'.
        That's why the pfSense /etc/inc/dyndns.class exists.

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

        X 1 Reply Last reply Reply Quote 0
        • X
          XrayDoc88 @Gertjan
          last edited by

          @gertjan
          I appreciate your response and willingness to help. Unfortunately, I'm not a coder. I looked at both of your URL links. They are above my pay grade. I do remember that when I got dynamic DNS working in pfSense, I created an "A" type with the help of a friend. I'm not knowledgeable enough to write my own script or how to make the script execute. I'm not even sure if "host name" means "xxx" or "xxx.domain". ๐Ÿ˜ž

          I guess I was hoping that I could copy and paste a script into the "request" field and just change my details. Likewise, copy and paste the appropriate "dynamic DNS server".

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.