1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

mydns触ってみる

Last updated at Posted at 2022-06-01

mydnsとは

ddnsなどのIPを無料ドメインで解決してくれるサービス

設定方法

アカウントを作りIDとパスワードを控えておく

cron

cronとは

mydns.sh
#!/bin/bash
MID="自分のmydnsID"
PASS="自分のパスワード"
wget -O -  https://$MID:$PASS@ipv4.mydns.jp/login.html
wget -O -  https://$MID:$PASS@ipv6.mydns.jp/login.html

mydns.shを30分度に実行

systemctl status cron.service
crontab -l

*/30 * * * * /mydns.sh
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?