Hi guys,
I am trying run a script for show me some informations about my gateways, but, when i try receive the informations about the dns servers the script runs 2 times doubling the results.
I removed the secondary dns and i have a result certain, without duplicating.
This is the script:
: global misa ($misa. "; Interface Lan: ")
: global misa ($misa. [ /interface get Lan type])
: global misa ($misa. "; DNS: ")
: global misa ($misa. [ /ip dns get value-name=servers])
: global misa ($misa. "; Lease Time: ")
: global misa ($misa. [ /ip dhcp-server get br-dhcp lease-time])
: global misa ($misa. "; E-mail de Envio: " )
: global misa ($misa. [ /tool e-mail get from])
: global misa ($misa. "; SENHA: " )
: global misa ($misa. [ /tool e-mail get password])
Someone help me ?
Thks