Help With Dynamic DNS?
-
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!
-
@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/recordReplaceTypeNameSo 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. -
@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".
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better ๐
Register LoginPrivacy Policy · Cookie Policy