1
0
mirror of https://github.com/vdm-io/dynamic-ip.git synced 2024-12-12 11:07:45 +00:00
Go to file
2017-07-21 16:47:10 +01:00
getip.sh added the basic getip and changed all queries to header calls. 2017-07-21 16:47:10 +01:00
readme.md updated the readme to reflect the permission setup option 2017-07-05 22:05:00 +01:00
setip.sh added the basic getip and changed all queries to header calls. 2017-07-21 16:47:10 +01:00

Dynamic IP

This script will update the VDM system with your dynamic IP. To run this script, use the following command (as root):

First time use to setup permission as root:

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

Once permission is set:

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

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.