OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • DtDNS Support
« previous next »
  • Print
Pages: [1]

Author Topic: DtDNS Support  (Read 4167 times)

vividou

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
    • View Profile
DtDNS Support
« on: February 10, 2018, 04:28:12 pm »
Hello,

Does Opnsense support DtDNS for the Dynamic DNS service?

Thanks
Logged

mausy5043

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 5
    • View Profile
Re: DtDNS Support
« Reply #1 on: February 10, 2018, 05:48:40 pm »
What makes you think it is not supported?
Logged
:-D  Hobbyist programmer since 1986

vividou

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
    • View Profile
Re: DtDNS Support
« Reply #2 on: February 10, 2018, 06:44:13 pm »
it does not appear in the drop down list of 'Service type'.
Logged

mausy5043

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 5
    • View Profile
Re: DtDNS Support
« Reply #3 on: February 10, 2018, 08:55:20 pm »
Have you tried using "Custom"?
Logged
:-D  Hobbyist programmer since 1986

vividou

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
    • View Profile
Re: DtDNS Support
« Reply #4 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.

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13633
  • Karma: 1174
    • View Profile
Re: DtDNS Support
« Reply #5 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
Logged

vividou

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
    • View Profile
Re: DtDNS Support
« Reply #6 on: February 12, 2018, 08:39:23 pm »
Hello,

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

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13633
  • Karma: 1174
    • View Profile
Re: DtDNS Support
« Reply #7 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
Logged

vividou

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
    • View Profile
Re: DtDNS Support
« Reply #8 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/
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13633
  • Karma: 1174
    • View Profile
Re: DtDNS Support
« Reply #9 on: February 13, 2018, 03:15:23 pm »
Okay, all the better. https://github.com/opnsense/plugins/issues/561


Cheers,
Franco
Logged

mausy5043

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 5
    • View Profile
Re: DtDNS Support
« Reply #10 on: February 13, 2018, 05:32:23 pm »
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
« Last Edit: February 13, 2018, 05:35:27 pm by mausy5043 »
Logged
:-D  Hobbyist programmer since 1986

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13633
  • Karma: 1174
    • View Profile
Re: DtDNS Support
« Reply #11 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • DtDNS Support
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2