Skip to content

A program to automatically change dns records for dynamic IP addresses. Applicable in bind9 DNS servers. Support A records.

Notifications You must be signed in to change notification settings

bandicm/dynamic_dns

Repository files navigation

About

A program to automatically change dns records for dynamic IP addresses Programmed by Marcel Bandić, contact: marcelb96@yahoo.com Applicable in bind9 DNS servers. Support A records.

How to run

You can only run the program on the bind9 DNS server. It runs with "sudo ./dinamic_dns". Before the flow, you must enter the domain in the doamin.conf file and capture the path to the file zone in the hosts.conf file since the override in the bind9 configuration.

Development information

This program is on v0.2-beta version. Changes to version v0.1:

  • Supports logs in real time
  • Fixed errors that occurred while writing to the zone file.
  • Add a logging function. For easier monitoring of program status.
  • Enable additional functions to read configuration files for domain and host file. Because of this the program can now work for any domain or location of the host file without editing the code or compiling the program.
  • The function to retrieve the new IP address has now been upgraded and should prevent the program from crashing due to non-response from the server.
  • The function for converting the IP address in the host file has been improved.

V0.3-beta Changes to version v0.2-beta

  • Upgrade function to read previous IP address. Reading is done from the local DNS server. This update fixes the problem of crashing the program when the retrieval function of the current address does not receive a response, i.e. when it loads an empty wan_ip file. And requires an additional dns_ip file.
  • Added file to configure this program as a linux service. The program now starts at startup.

About

A program to automatically change dns records for dynamic IP addresses. Applicable in bind9 DNS servers. Support A records.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages