ปกติผมสมัครใช้บริการฟรีของ changeip ครับโดยใช้สตริปตามข้างล่าง ก็สามารถใช้งานได้ตามปกติ จนมาเมื่อวาน ผมเข้าเว็บของทาง changeip หน้าตาเว็บเปลี่ยนไปเค้าน่าจะปรับปรุงเว็บใหม่ หลังจากนั้น RB450G ก็รันสคริปไม่ผ่านอีกเลยครับ ขึ้นเตือนว่า authentication failure ตลอด รบกวนช่วยผมหน่อยครับ หรือถ้ามีสคริปของ no-ip ก็ยินดีลองครับ(ก่อนหน้านี้เคยลองของ no-ip แล้วไม่ผ่านอ่ะครับ) ขอบพระคุณอย่างสูง
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EDIT YOUR DETAILS / CONFIGURATION HERE
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:global ddnsuser "YourChangeIPUserID"
:global ddnspass "PASSWORD"
:global ddnshost "MyRouterHostname.example.org"
:global ddnsinterface "ether1"
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# END OF USER DEFINED CONFIGURATION
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:global ddnssystem ("mt-" . [/system package get [/system package find name=system] version] )
:global ddnsip [ /ip address get [/ip address find interface=$ddnsinterface] address ]
:global ddnslastip
:if ([:len [/interface find name=$ddnsinterface]] = 0 ) do={ :log info "DDNS: No interface named $ddnsinterface, please check configuration." }
:if ([ :typeof $ddnslastip ] = "nothing" ) do={ :global ddnslastip 0.0.0.0/0 }
:if ([ :typeof $ddnsip ] = "nothing" ) do={
:log info ("DDNS: No ip address present on " . $ddnsinterface . ", please check.")
} else={
:if ($ddnsip != $ddnslastip) do={
:log info "DDNS: Sending UPDATE!"
:log info [ :put [/tool dns-update name=$ddnshost address=[:pick $ddnsip 0 [:find $ddnsip "/"] ] key-name=$ddnsuser key=$ddnspass ] ]
:global ddnslastip $ddnsip
} else={
:log info "DDNS: No changes necessary."
}
}
# END OF SCRIPT