Welcome to Sysnet Board คู่มือ การใช้งานอุปกรณ์ Network. Please log in or sign up.
สมาชิกทั้งหมด
17,603
กระทู้ทั้งหมด
10,034
หัวข้อทั้งหมด
4,714

  • การ Set Dynanic DNS บน Mikrotik ในกรณีทำ LoadBalance
    เริ่มโดย yod
    Read 9,899 times
0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้
yod

 

 

การ Config Dynanic DNS บน Mikrotik ในกรณีทำ Load Balance



เพิ่ม Script ใน Menu Winbox System --> Scripts

แก้ไขในส่วน Code ที่เป็นสีแดง ตามนี้ครับ
user-name: dyndns username
password: dyndns password
device-interface: ชื่อ Interface ที่เชื่อมต่อ Internet เช่น pppoe-out1
dyndns-host-name: ชื่อ Host Name ที่สร้างไว้ใน DynDNS.org




:local ddnsuser "user-name"
:local ddnspass "password"
:local theinterface "device-interface"
:local ddnshost "dyndns-host-name"

:local ipddns [:resolve $ddnshost];
:local ipfresh [ /ip address get [/ip address find interface=$theinterface ] address ]
:if ([ :typeof $ipfresh ] = nil ) do={
  :log info ("DynDNS: No ip address on $theinterface .")
} else={
  :for i from=( [:len $ipfresh] - 1) to=0 do={
     :if ( [:pick $ipfresh $i] = "/") do={
   :set ipfresh [:pick $ipfresh 0 $i];
     }
}

:if ($ipddns != $ipfresh) do={
   :log info ("DynDNS: IP-DynDNS = $ipddns")
   :log info ("DynDNS: IP-Fresh = $ipfresh")
  :log info "DynDNS: Update IP needed, Sending UPDATE...!"
  :local str "/nic/update?hostname=$ddnshost&myip=$ipfresh&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG"
  /tool fetch address=members.dyndns.org src-path=$str mode=http user=$ddnsuser \
        password=$ddnspass dst-path=("/DynDNS.".$ddnshost)
   :delay 1
   :local str [/file find name="DynDNS.$ddnshost"];
   /file remove $str
   :global ipddns $ipfresh
 :log info "DynDNS: IP updated to $ipfresh!"
   } else={
    :log info "DynDNS: dont need changes";
   }
}

จะเป็นการส่งค่า IP Address ขา Wan ของ Mikrotik ไปยัง Dynamic DNS Server

drunk driving charge regulations near Ohio might be complex, and yet it's important to feature a good comprehension of it if us are facing levies. Operating under the influence of alcohol (DUI) is actually a grave offence regarding can have actually significant consequences on their future. In Ohio, really lawful limit for bloodstream alcohol concentration (BAC) is eight percentfor nearly all motorists or 0.04%  business racers.
 
If that you are pulled over by law police and accused of driving while intoxicated, they could execute field sobriety assessments or substance reports, that because breathalyser or blood checks, to ascertain on your degree of damage. Refusing these kind of tests can lead to programmed penalties, including license suspension.
 
dwi offensive activity in Ohio have multiple penalties, corresponding to on variables fancy earlier judgment of conviction, BAC level, plus when available was going to be an incident or hurt engaging. Effects might involve charges, license suspension system, vital alcoholic beverage treatment programs, liberation, and truly jailhouse time. Regular offensive activity and exacerbated occasions can result in more dreadful penalties.
 
Owning a experienced DUI a good defense attorney is essential to navigate the complications of Ohio drunk driving charge laws. They is able to review the verification, dare the legalization of the halt, query the precision of examinations, and enjoy potentiality defense to help offset the costs. Furthermore, an attorney can manual you using the suitable process, promising the right are defended and urge for the very best viable effect.
 
Keep in mind, being well informed in regards to Ohio's DUI laws and attempting the help of an accomplished law firm are critical steps in thoroughly approaching a DUI price additionally securing some prospect.   
 
false imprisonment attorney in Dayton Ohio