DtDNS Support

Started by vividou, February 10, 2018, 04:28:12 PM

Previous topic - Next topic
Hello,

Does Opnsense support DtDNS for the Dynamic DNS service?

Thanks

What makes you think it is not supported?
:-D  Hobbyist programmer since 1986

it does not appear in the drop down list of 'Service type'.

Have you tried using "Custom"?
:-D  Hobbyist programmer since 1986

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

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



If you can give me test credentials then I'll implement it as a native service.


Cheers,
Franco

Hello,

If you mean that I could test your implemented service, yes sure!

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

Actually, the creation of account and Dynamic DNS hostname is free. Just need to fill the form https://www.dtdns.com/


February 13, 2018, 05:32:23 PM #10 Last Edit: February 13, 2018, 05:35:27 PM by mausy5043
Quote from: 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/
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
:-D  Hobbyist programmer since 1986

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