• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 692 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 Jan 2, 2023, 11:02 PM

    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!

    G 1 Reply Last reply Jan 3, 2023, 8:31 AM Reply Quote 0
    • G
      Gertjan @XrayDoc88
      last edited by Jan 3, 2023, 8:31 AM

      @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 Jan 3, 2023, 7:12 PM Reply Quote 0
      • X
        XrayDoc88 @Gertjan
        last edited by Jan 3, 2023, 7:12 PM

        @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
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received