diff options
author | punk <punk@libernaut> | 2021-04-23 20:37:50 +0100 |
---|---|---|
committer | punk <punk@libernaut> | 2021-04-23 20:38:24 +0100 |
commit | 6b5cf63d1987889e272643bf7eeb7725df856d11 (patch) | |
tree | 39746296c7641bde4d40b79fee5df7ad3c18cd50 /linux/network.html | |
parent | eac48b5a8d709135a95abcc2243b369095f074f4 (diff) | |
parent | 2fc20ef28d32bd8de7be2e2095519a24272b51bd (diff) | |
download | doc-6b5cf63d1987889e272643bf7eeb7725df856d11.tar.gz |
release 0.7.1
Diffstat (limited to 'linux/network.html')
-rw-r--r-- | linux/network.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/linux/network.html b/linux/network.html index a0e542e..8c624ab 100644 --- a/linux/network.html +++ b/linux/network.html @@ -463,6 +463,26 @@ nmcli> save persistent </pre> + <h2 id="domain">Domain</h2> + + <p>To configure a sub-domain from + <a href="http://freedns.afraid.org">afraid.org</a>, + <a href="https://freedns.afraid.org/dynamic/v2/">generate cron job</a> + to update ip every 5 minutes, check + <a href="https://freedns.afraid.org/dynamic/v2/tips/">about dynamic interface</a>. + To run as system cron job add as root and remove + path line from example;</p> + + <pre> + # crontab -e + </pre> + + <p>Replace KEY and domain_name with correct one;</p> + + <pre> + 4,9,14,19,24,29,34,39,44,49,54,59 * * * * sleep 22 ; wget --no-check-certificate -O - https://freedns.afraid.org/dynamic/update.php?[KEY]= >> /var/log/freedns_domain_name.log 2>&1 & + </pre> + <a href="index.html">GNU/Linux Index</a> <p> |