Skip to content

Instantly share code, notes, and snippets.

@dsta50
dsta50 / update_ip_mydnsjp.bat
Created August 5, 2022 19:20
[Windows Batch] DDNS (MyDNSJP)にグローバルIPアドレスを通知する
@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 August 5, 2022 19:31
[Lua] YAMAHAルータでDDNS (MyDNSJP)にグルーバルIPアドレスを通知する
-- 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