Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Script to periodically update a DNS authoritative record with the public IP of the server where it is installed on

NotificationsYou must be signed in to change notification settings

dantuzi/ddns4server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Script to periodically update a DNS authoritative record with the public IP of the server where it is installed on.
Currently only GoDaddy is supported

Installation

  1. Create a folder.ddns4s on your HOME_PATH:/home/<user>/.ddns4s

  2. Create a configuration fileconfig.json

     {     "server_subdomain": "dns-upd-test",     "godaddy": {         "api_key": "<DNS_API_KEY>",         "api_secret": "<DNS_API_SECRET>",         "root_domain": "ddns4s.com"     } }
  3. Replace the credentials for your DNS provider

  4. Run the script

     python src/sripts/godaddy.ph
  5. Verify that everything is set correctly by querying the DNS

     ➜  ~ dig A +short dns-upd-test.ddns4s.com 151.143.24.35

6.Install the script as a cronjob task


Testing

Tested only on linux servers

About

Script to periodically update a DNS authoritative record with the public IP of the server where it is installed on

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp