Advertisement
phadjrat

dnskenceng

May 20th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. /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"
  2. /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"
  3. /tool netwatch
  4. add comment="DNS SOLUSI " disabled=no down-script="ip fi na disable [find com\
  5. ment unsure emotikon"DNS SOLUSI\"]\r\
  6. \n:log warning \" DOWN\"\r\
  7. \nip dns set servers=118.98.44.100\r\
  8. \nip dns cache flush" host=172.31.31.2 interval=1s timeout=1s up-script="i\
  9. p fi na enable [find comment unsure emotikon"DNS SOLUSI\"]\r\
  10. \n:log warning \" VPS\"\r\
  11. \nip dns set servers=172.31.254.2\r\
  12. \nip dns cache flush"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement