Hi all,
I would like to know how to add a dynamic dns address in firewall/address. So, test.no-ip.org is 1.1.1.1 and when this address change, it is automatically changed in firewall/address.
Thank you for your help.
Bests Regards,
Hi all,
I would like to know how to add a dynamic dns address in firewall/address. So, test.no-ip.org is 1.1.1.1 and when this address change, it is automatically changed in firewall/address.
Thank you for your help.
Bests Regards,
Ok, i found this thread : http://wiki.mikrotik.com/wiki/Sync_Address_List_from_DNS_Lookup_Results_-_CNAME_and_A_Records
Thank you ![]()
I hope you like my idea.
Nice ![]()
It is working great and it is very easy, thank you mate ![]()
+1 karma
Hi works really well, tnx
can I have the same DDNS resolve for the IPSec sa-dst-address
I’ve try the following but didn’t work
:foreach remoteEndDstIP in=[ /ip ipsec policy find where sa-dst-address=“” ] do={
/ip ipsec policy set $remoteEndDstIP address=[:resolve [/ip ipsec policy get $remoteEndDstIP comment]];
};
cheers
where sa-dst-address=“” ??
what is the gouping requirements???
sa-dst-address can not be “”
" address=[:resolve " ??
what field you try to update?
src-address?
dst-address?
sa-dst-address?
sa-src-address?
I do not use IPSec,
write 6 or 7 sample policy to work on…
Hi there,
my request is really simple, what I need is a script to DNS lookup, resolve, the [xyz.ddns.com] get the IP address returned and set it as sa-dst-address. No compare with the existing, not needed.
Then I’ll add it in a scheduler to run this script every 60’, voila!
e.g.
:resolve xyz.ddn.com
DNS reply: 1.2.3.4
set sa-dst-address=1.2.3.4
hope this clarifies
tnx, Kostas