OPNsense Forum

English Forums => General Discussion => Topic started by: vividou on February 10, 2018, 04:28:12 pm

Title: DtDNS Support
Post by: vividou on February 10, 2018, 04:28:12 pm
Hello,

Does Opnsense support DtDNS for the Dynamic DNS service?

Thanks
Title: Re: DtDNS Support
Post by: mausy5043 on February 10, 2018, 05:48:40 pm
What makes you think it is not supported?
Title: Re: DtDNS Support
Post by: vividou on February 10, 2018, 06:44:13 pm
it does not appear in the drop down list of 'Service type'.
Title: Re: DtDNS Support
Post by: mausy5043 on February 10, 2018, 08:55:20 pm
Have you tried using "Custom"?
Title: Re: DtDNS Support
Post by: vividou on February 11, 2018, 10:41:49 am
Indeed, with 'custom' it is possible to use DtDNS with the foolowing url https://www.dtdns.com/api/autodns.cfm?id=DNS_ADDRESS&pw=PASSWORD&ip=%IP% as described in http://www.dtdns.com/dtsite/updatespec.
Thanks for the tip.

Is there anything like %IP% which could be used to replace the hostname and the password?

Also I cannot figure out the exact result matching pattern. After updating, the returned message is <html><head><style></style></head><body>Host <Hostname> now points to %IP%.
</body></html>. But when I fill the result match box with that string there is an error

Code: [Select]
opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS: (Error) Result did not match.

Title: Re: DtDNS Support
Post by: franco on February 12, 2018, 06:01:09 pm
If you can give me test credentials then I'll implement it as a native service.


Cheers,
Franco
Title: Re: DtDNS Support
Post by: vividou on February 12, 2018, 08:39:23 pm
Hello,

If you mean that I could test your implemented service, yes sure!
Title: Re: DtDNS Support
Post by: franco on February 12, 2018, 10:50:56 pm
To avoid bouncing time I simply ask for a functional username and password to finish the implementation locally and then ask for wider testing. I realise it may seem pushy, but it provides high quality results that is hard to achieve with remote debugging.

This or code contributions of the implementation to review and polish.

Either way: the person with the login credentials should be the person writing the code. ;)


Cheers,
Franco
Title: Re: DtDNS Support
Post by: vividou on February 13, 2018, 02:43:15 pm
Actually, the creation of account and Dynamic DNS hostname is free. Just need to fill the form https://www.dtdns.com/
Title: Re: DtDNS Support
Post by: franco on February 13, 2018, 03:15:23 pm
Okay, all the better. https://github.com/opnsense/plugins/issues/561


Cheers,
Franco
Title: Re: DtDNS Support
Post by: mausy5043 on February 13, 2018, 05:32:23 pm
Actually, the creation of account and Dynamic DNS hostname is free. Just need to fill the form https://www.dtdns.com/
This is interesting. Could someone enlighten me (mega-n00b on this subject) as to the merits of using a dynamic DNS service as opposed to setting up dnsmasq with 9.9.9.9 as an external resolver or using unbound?

never mind. Found it on Google  ;D
Title: Re: DtDNS Support
Post by: franco on February 13, 2018, 05:34:42 pm
The dynamic DNS part is for getting a free portable Internet-reachable domain name to access your daily-changing home IP. OPNsense takes care of the update when the IP changes.

That's all. Nothing to do with internal DNS resolving / forwarding.


Cheers,
Franco