Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if mikrotik has both IPv4 and IPv6 it updates only ipv4 dns record on duckdns #4

Open
erindosmani opened this issue Mar 22, 2023 · 2 comments

Comments

@erindosmani
Copy link

No description provided.

@beeyev
Copy link
Owner

beeyev commented Mar 22, 2023

What is your proposal ?

@erindosmani
Copy link
Author

i use cloudns, and the script is straight away, i've added only 1 line of code on my scheduler.

I hardcoded the wrong value on duckdns.org for my IPv6 address 2001:4:4:4:4::4 and for IPv4 4.4.4.4, and after the script runned several time, only the IPv4 value is updated to the correct one.

And also the script has this dummy log-error if IPv6 is enabled

if ($ipv6mode = true) do={
:set ipDetectService1 $ipv6DetectService1;
:set ipDetectService2 $ipv6DetectService2;
:log error "DuckDNS: ipv6 mode enabled"

why the mikrotik has to log it as an error:
DuckDNS: Service does not work: https://api64.ipify.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants