mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
ipsec-to-dns: remove debug output
Oops... 😳
This sneaked in with initial commit 862417b8d3
("add 'ipsec-to-dns'").
This commit is contained in:
parent
2f8e8b7448
commit
621154ab83
1 changed files with 0 additions and 2 deletions
|
@ -47,9 +47,7 @@
|
|||
:foreach Peer in=[ /ip/ipsec/active-peers/find where !(dynamic-address=[]) ] do={
|
||||
:local PeerVal [ /ip/ipsec/active-peers/get $Peer ];
|
||||
:local Comment ($CommentPrefix . $PeerVal->"id");
|
||||
:put ($PeerVal->"id");
|
||||
:local HostName [ :pick ($PeerVal->"id") 0 [ :find ($PeerVal->"id" . ".") "." ] ];
|
||||
:put $HostName;
|
||||
|
||||
:local Fqdn ($HostName . "." . $Zone);
|
||||
:local DnsRecord [ /ip/dns/static/find where name=$Fqdn ];
|
||||
|
|
Loading…
Reference in a new issue