diff options
author | punk <punk@libernaut> | 2021-04-23 20:37:35 +0100 |
---|---|---|
committer | punk <punk@libernaut> | 2021-04-23 20:37:35 +0100 |
commit | 2fc20ef28d32bd8de7be2e2095519a24272b51bd (patch) | |
tree | c0b7c2c0e546e58b329644a0d4def316b946e0f3 /linux/network.html | |
parent | 4107462e9ec1cabaa7f89bd8478caec3f0d5b46a (diff) | |
download | doc-2fc20ef28d32bd8de7be2e2095519a24272b51bd.tar.gz |
several fix's
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> |