Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /ip fi na add chain=dstnat action=dst-nat to-addresses=172.31.254.2 to-ports=53 protocol=udp dst-port=53 comment="DNS SOLUSI"
- /ip fi na add chain=dstnat action=dst-nat to-addresses=172.31.254.2 to-ports=53 protocol=tcp dst-port=53 comment="DNS SOLUSI"
- /tool netwatch
- add comment="DNS SOLUSI " disabled=no down-script="ip fi na disable [find com\
- ment unsure emotikon"DNS SOLUSI\"]\r\
- \n:log warning \" DOWN\"\r\
- \nip dns set servers=118.98.44.100\r\
- \nip dns cache flush" host=172.31.31.2 interval=1s timeout=1s up-script="i\
- p fi na enable [find comment unsure emotikon"DNS SOLUSI\"]\r\
- \n:log warning \" VPS\"\r\
- \nip dns set servers=172.31.254.2\r\
- \nip dns cache flush"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement