You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Llewellyn van der Merwe 7f4da4a3e8
moved files to the .local folder.
10 months ago
.gitignore Added git ignore. 10 months ago
LICENSE improved the setip, added the basic getip 5 years ago
getip.sh moved files to the .local folder. 10 months ago
readme.md improved the readme wording 5 years ago
setip.sh moved files to the .local folder. 10 months ago

readme.md

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

to set IP:

bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh)

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.

to get IPs:

bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh)

This script performs the following actions:

  • Adds random Host Key.
  • Adds a cron entry to update this file on a scheduled basis.
  • Gets dynamic IPS for this serves DNS.