add SAFEDNS to Dynamic DNS Services

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
gmehrten169
Posts: 3
Joined: Sun May 26, 2019 1:03 pm

add SAFEDNS to Dynamic DNS Services

Post by gmehrten169 »

I am wanting to add SafeDNS to the Dynamic DNS Services lists. I have tryed dns-o-matic, but that service is not reporting to correct internet facing IP to safeDNS. I have found If I use the windows client ddclient on my Laptop the correct internet facing IP is reported to SafeDNS. Because I use my laptop on other wifi hot spots, I would prefer that Gargoyle report my home IP directly to SafeDNS and not my work IP.
Is there a plugin to add a "custom" Dynamic DNS Services to Gargoyle. I Read on the forums that a user edited a ddns_providers.conf but that outside my abilities.
NETGEAR WNDR3700v4 with Gargoyle 1.11.x

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: add SAFEDNS to Dynamic DNS Services

Post by RomanHK »

I don't know if it works like this, I don't use DDNS, try it. Edit /etc/ddns_providers.conf and add a section:

Code: Select all

service safedns.com
	url_template			https://[[USERNAME]]:[[PASSWORD]]@www.safedns.com/nic/update?hostname=[[DOMAIN]]
	required_variables		domain username password
	required_variable_names		DyDNS.DoNm,DyDNS.UsrN,DyDNS.Pssw
	success_regexp			/^(good|nochg)/
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: add SAFEDNS to Dynamic DNS Services

Post by Lantis »

What do you mean it isn’t reporting the right address? Did you let it run for a period of time?
One of the check sites is currently giving bad info (see other recent threads).
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

gmehrten169
Posts: 3
Joined: Sun May 26, 2019 1:03 pm

Re: add SAFEDNS to Dynamic DNS Services

Post by gmehrten169 »

My NETGEAR WNDR3700v4 with Gargoyle 1.11.0 as far as I know the ddns_providers.conf is write protected.
The "dns-o-matic service" shows the correct dynamic IP internet facing IP on there console, but in the SafeDNS console a diferent IP is reported and is in conflict. Not sure which service is at fault? I know the dynamic IP is reported corectly to SafeDNS if done with a "windows ddclient client". I sure if the Gargoyle software was to perfrom the dynamic IP reporting directly to SafeDNS, it would solve the Problem.
NETGEAR WNDR3700v4 with Gargoyle 1.11.x

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: add SAFEDNS to Dynamic DNS Services

Post by Lantis »

Alright.
Well no those conf files should not be read only. They’re designed to let you define your own providers.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: add SAFEDNS to Dynamic DNS Services

Post by RomanHK »

For a bad IP report, https://checkmyip.com/ server is to blame and the temporary solution is here: viewtopic.php?f=6&t=12011#p53270
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

gmehrten169
Posts: 3
Joined: Sun May 26, 2019 1:03 pm

Re: add SAFEDNS to Dynamic DNS Services

Post by gmehrten169 »

Want to thank you all.
I got the courage to use winSCP and take a second look at the ddns_providers.conf file again and found out I was looking in the wrong directory. I originally was looking at the (rom/etc/ddns_providers.conf). I found there was a (etc/ddns_providers.conf) and that one I could edit. I added the code RomanHK supplied in the conversation and now gargoyle is reporting to SafeDNS and “all is well”.
Not sure what are the differences between the two directories is but it works.

Now a recommendation that would be great for the gargoyle site would be a walk thought on this subject of adding Dynamic DNS Services its lists dropdown.
Open DNS has one, but its over my head and your way is much simpler.
NETGEAR WNDR3700v4 with Gargoyle 1.11.x

Post Reply