Go to file
2022-07-13 20:56:34 -04:00
.env-sample Created a script to keep Azure DNS pointed to the public IP 2022-07-13 20:39:22 -04:00
.gitignore Created a script to keep Azure DNS pointed to the public IP 2022-07-13 20:39:22 -04:00
README.md Add a README.md 2022-07-13 20:56:34 -04:00
update-dns.sh Created a script to keep Azure DNS pointed to the public IP 2022-07-13 20:39:22 -04:00

Azure DNS Update

A utility that can be used to keep your Azure DNS pointed to your on-premises/home public IP address.


Features

  • Includes one template based on this article;
  • Can be run on a schedule
  • Can be run as a Docker container

Settings

These settings must be configured in a .env file in the same directory as the script.

SUBSCRIPTION_ID=<YOUR_SUBSCRIPTION_ID_GUID>
CLIENT_ID=<YOUR_CLIENT_ID_GUID>
CLIENT_SECRET=<YOUR_CLIENT_SECRET>
TENANT_ID=<YOUR_TENANT_ID_GUID>

RESOURCE_GROUP_NAME=<YOUR_RESOURCE_GROUP_NAME>
ZONE_NAME=<YOUR_DNS_ZONE_NAME>
RECORD_TYPE=A
RELATIVE_RECORD_SET_NAME=@