Skip to content

Instantly share code, notes, and snippets.

@dsta50
dsta50 / update_ip_mydnsjp.bat
Created Aug 5, 2022
[Windows Batch] DDNS (MyDNSJP)にグローバルIPアドレスを通知する
View update_ip_mydnsjp.bat
@ECHO OFF
rem --This Windows Batch file is tells DDNS (MyDNSJP) the global IP address
rem --Value
set ddnsid=userid
set ddnspass=password
set ddnsurl=https://www.mydns.jp/directip.html
set logfile=mydnsjp.log
set gipv4url=https://inet-ip.info/ip
@dsta50
dsta50 / rtx_update_myddnsjp.lua
Last active Aug 5, 2022
[Lua] YAMAHAルータでDDNS (MyDNSJP)にグルーバルIPアドレスを通知する
View rtx_update_myddnsjp.lua
-- This Lua script is tells DDNS (MyDNSJP) the global IP address on the YAMAHA RTX router
-- Value
ddnsid = "userid"
ddnspass = "password"
ddnsurl = "https://www.mydns.jp/directip.html"
gipv4url = "https://inet-ip.info/ip"
msg_prefix = "[DDNS] rtx_update_myddnsjp.lua "
-- Get Globle IP address info