1
0
mirror of https://github.com/vdm-io/dynamic-ip.git synced 2024-12-05 00:33:13 +00:00

improved the readme wording

This commit is contained in:
Llewellyn van der Merwe 2017-07-22 00:29:01 +01:00
parent b22e11b3cc
commit de9d2d5182
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5

View File

@ -5,26 +5,23 @@ This script will update the VDM system with your dynamic IP. To run this script,
*setip* = set IP to VDM system *setip* = set IP to VDM system
*getip* = will return all details related to this server *getip* = will return all details related to this server
First time use to setup permission as root to set IP: # to set IP:
``` ```
bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh) bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh)
``` ```
Once permission is set: This script performs the following actions:
```
curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh | bash
```
First time use to setup permission as root to get IPs: * Adds random Host Key.
* Adds a cron entry to update this file on a scheduled basis.
* Adds the server IP to VDM system.
# to get IPs:
``` ```
bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh) bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh)
``` ```
Once permission is set:
```
curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh | bash
```
This script performs the following actions: This script performs the following actions:
* Adds random Host Key. * Adds random Host Key.
* Adds a cron entry to update this file on a scheduled basis. * Adds a cron entry to update this file on a scheduled basis.
* Adds the server IP to VDM system or Gets dynamic IPS for DNS. * Gets dynamic IPS for this serves DNS.