1
0
mirror of https://github.com/vdm-io/dynamic-ip.git synced 2024-12-03 16:08:18 +00:00
Go to file
2021-07-27 14:36:00 +00:00
.gitignore Added git ignore. 2021-07-27 14:09:55 +00:00
getip.sh moved files to the .local folder. 2021-07-27 14:36:00 +00:00
LICENSE improved the setip, added the basic getip 2017-07-21 23:48:24 +01:00
readme.md improved the readme wording 2017-07-22 00:29:01 +01:00
setip.sh moved files to the .local folder. 2021-07-27 14:36:00 +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

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.