Community discussions

MikroTik App
 
hci
Long time Member
Long time Member
Topic Author
Posts: 674
Joined: Fri May 28, 2004 5:10 pm

Dynamic DNS Update

Wed Apr 15, 2020 5:51 pm

I am trying to run this with scripting. It works fine on Raspberry Pi with Bash.
/usr/bin/curl -6 "https://test.xyzdomaintest.com:password@dyn.dns.he.net/nic/update?hostname=test.xyzdomaintest.com"
Simply calling the URL will update the dynamic DNS. I need to do it over IPv6 though. Any idea how?

I see this but it does not address IPv6.
https://wiki.mikrotik.com/wiki/Dynamic_ ... ectric_DNS
 
hci
Long time Member
Long time Member
Topic Author
Posts: 674
Joined: Fri May 28, 2004 5:10 pm

Re: Dynamic DNS Update

Fri Apr 17, 2020 4:51 am

In the end using this worked.

https://wiki.mikrotik.com/wiki/Manual:Tools/Fetch
/tool fetch url="https://test.xyzdomaintest.com:password@ipv6.dyn.dns.he.net/nic/update?hostname=test.xyzdomaintest.com" keep-result=no 

Had to add ipv6 to domain. Would be nice to have an option with fetch to prefer/demand ipv6.

Who is online

Users browsing this forum: No registered users and 25 guests