Deploy fixed domain names for dynamic IP VPS/NAT VPS using DNSPod and dns.he.net

Deploy fixed domain names for dynamic IP VPS/NAT VPS using DNSPod and dns.he.net

Previously, I introduced using CloudFlare and AliDDNS to create a fixed domain name for a dynamic IP:
Use CloudFlare API to deploy fixed domain names for dynamic IP VPS/NAT VPS Use AliDDNS to deploy fixed domain names for dynamic IP VPS/NAT VPS

This time, DNSPod and dns.he.net are used to deploy a fixed domain name for dynamic IP VPS/NAT VPS.
GoDNS is used, which supports Linux, ARM Linux, Windows, MacOS, etc. It can be used in various systems.
The following is an example using Debian 8 64-bit and GoDNS V1.5.2.

1. Download GoDNS and configuration files
a. Download GoDNS

 wget --no-check-certificate https://github.com/TimothyYe/godns/releases/download/V1.5.2/godns-linux64-1.5.2.tar.gz tar -xvf godns-linux64-1.5.2.tar.gz

Other versions of GoDNS: https://github.com/TimothyYe/godns/releases

b. Download the configuration file
wget –no-check-certificate https://github.com/timothyye/godns/blob/master/config_sample.json
mv config_sample.json config.json

2. dns.he.net DDNS configuration <br />Add an A record at dns.he.net, with Name as dyndns or other, Ipv4 as optional, TTl set to 5 minutes, and select Enable entry for dynamic dns

Set the key for the dynamic domain name

Modify the configuration file config.json

 { "provider": "HE", "email": "你的dns.he.net注冊郵箱", "password": "創建的動態域名key", "login_token": "", "domains": [{ "domain_name": "example.com", "sub_domains": ["www","test"] },{ "domain_name": "example2.com", "sub_domains": ["www","test"] } ], "ip_url": "http://members.3322.org/dyndns/getip", "log_path":"/users/timothy/workspace/src/godns/godns.log", "socks5_proxy": "" }

“domain_name”: “example.com”, where example.com is your primary root name
"sub_domains": ["www","test"], www and test are subdomains. You can set a

3. DNSPod DDNS configuration <br />Relatively speaking, it is relatively simple. Just resolve the domain name and then modify the configuration file.

 { "provider": "DNSPod", "email": "你的DNSPod注冊郵箱", "password": "你的DNSPod密碼", "login_token": "", "domains": [{ "domain_name": "example.com", "sub_domains": ["www","test"] },{ "domain_name": "example2.com", "sub_domains": ["www","test"] } ], "ip_url": "http://members.3322.org/dyndns/getip", "log_path": "./godns.log", "socks5_proxy": "" }

“domain_name”: “example.com”, where example.com is your primary root name
"sub_domains": ["www","test"], www and test are subdomains. You can set a

The full text is transferred from: https://github.com/TimothyYe/godns, for more usage, please see the project.

<<:  Mushroom Host: 59.5 yuan/month/512MB memory/20GB space/700GB traffic/100Mbps/OpenVZ/Korea

>>:  Hetzner: €34/month/i7-6700/32GB memory/8TB hard drive/30TB bandwidth/Germany/Finland

Recommend

VPS for less than $20 per year

buyvm.net 15 USD per year, 128 Memory, 256 MB bur...

Ikoula Atom 525 4GB RAM French Dedicated Server Review

Details: Ikoula: €8.99/month/Atom 510/4GB RAM/1TB...

RamNode: $3.5/month/512MB RAM/40GB SSD space/1000GB bandwidth/OpenVZ

RamNode is a very good VPS provider. Aiba is buil...

CloudCone: $1.49/month/256MB memory/10GB SSD space/1TB traffic/KVM/Los Angeles

CloudCone has been promoting its products like cr...

Aoyohost 2 cores 2GB memory 50Mbps bandwidth Netherlands CN2 GIA KVM VPS review

Details : Aoyohost: 64 yuan/month/2 cores/2GB mem...

Hostigger: $15/year/1GB RAM/10GB SSD space/1TB bandwidth/KVM/Türkiye

Hostigger, an American hosting provider, was foun...

100TB: $5/month/512MB/25GB SSD/2TB bandwidth/KVM/Los Angeles/Free unlimited SSL

100TB, owned by uk2, provides vps, cloud hosting,...

GalaxyHostPlus: $14/year/1GB memory/50GB space/1TB traffic/OPENVZ/France

GalaxyHostPlus, an Irish hosting provider, was es...