dynamic-ip/readme.md

28 lines
789 B
Markdown
Raw Permalink Normal View History

2017-07-05 00:34:40 +00:00
Dynamic IP
============
This script will update the VDM system with your dynamic IP. To run this script, use the following command (as root):
*setip* = set IP to VDM system
*getip* = will return all details related to this server
2017-07-21 23:29:01 +00:00
# to set IP:
```
bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh)
```
2017-07-21 23:29:01 +00:00
This script performs the following actions:
* Adds random Host Key.
* Adds a cron entry to update this file on a scheduled basis.
* Adds the server IP to VDM system.
2017-07-05 00:34:40 +00:00
2017-07-21 23:29:01 +00:00
# to get IPs:
```
bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh)
```
2017-07-05 00:34:40 +00:00
This script performs the following actions:
* Adds random Host Key.
* Adds a cron entry to update this file on a scheduled basis.
2017-07-21 23:29:01 +00:00
* Gets dynamic IPS for this serves DNS.