Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 5 of 5
  1. #1
    Status
    Offline
    clovanzo's Avatar
    Member Senior
    Join Date
    Sep 2007
    Posts
    408
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [ASK] cara ngerubah dns secara otomatis

    Suhu yg jago-jago scripting, mohon bantuan dong bikinin script dimana nanti di scheduler dia ngecek

    jika secondary-dns !xx.xx.xx.xx maka dia akan merubah ke xx.xx.xx.xx

    jika secondary-dns sudah xx.xx.xx.xx maka goto :end

    Kira kira begitu.. makasih sebelum dan sesudahnya.

  2. #2
    Status
    Offline
    paimin's Avatar
    Member Super Senior
    Join Date
    May 2008
    Location
    negeri impian
    Posts
    571
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlargeClick here to enlarge

    nyundullll....

  3. #3
    Status
    Offline
    yosanpro's Avatar
    Co-Admin
    Join Date
    Nov 2007
    Location
    Bantul, Bantul, Yogyakarta
    Posts
    2,548
    Reviews
    Read 0 Reviews
    Downloads
    11
    Uploads
    4
    Feedback Score
    1 (100%)
    Merubah secondary dns tiap kali dipanggil, jika mau merubah sekali saja (goto end) hilangkan yang biru.
    Code:
    :if ([/ip dns get secondary-dns]!=xx.xx.xx.xx) do={/ip dns set secondary-dns=xx.xx.xx.xx} else={/ip dns set secondary-dns=yy.yy.yy.yy}
    Last edited by yosanpro; 29-06-2009 at 13:12.

  4. The Following 2 Users Say Thank You to yosanpro For This Useful Post:


  5. #4
    Status
    Offline
    paimin's Avatar
    Member Super Senior
    Join Date
    May 2008
    Location
    negeri impian
    Posts
    571
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    manteppp tuuu....

  6. #5
    Status
    Offline
    clovanzo's Avatar
    Member Senior
    Join Date
    Sep 2007
    Posts
    408
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Wah makasih bro! berjalan mulus nih Click here to enlarge

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. cara setting management bandwith dinamis/otomatis
    By junalyssa in forum Beginner Basics
    Replies: 7
    Last Post: 13-08-2011, 00:43
  2. limit kompi tapi secara Range
    By mistis in forum Beginner Basics
    Replies: 7
    Last Post: 18-05-2011, 13:00
  3. Login Otomatis
    By kifli.sul in forum Wireless Networking
    Replies: 15
    Last Post: 07-09-2009, 01:08
  4. help limit bw otomatis
    By pc2console in forum Beginner Basics
    Replies: 3
    Last Post: 01-04-2008, 17:50
  5. script download nice.rsc dan import secara otomatis berdasarkan sceduler
    By ahmad.rifani in forum Scripting @ Mikrotik
    Replies: 4
    Last Post: 19-02-2008, 14:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •