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

skrvm: 16 yuan/month/1GB memory/30GB space/1TB traffic/KVM/OVH France

skrvm, a Chinese merchant, previously provided VP...

Payza registration and operation tutorial

About Payza: Payza was founded in 2004 and was or...

WootHosting: $18/year/1GB RAM/30GB space/3TB bandwidth/KVM/Chicago

WootHosting, an American hosting provider, was fo...

Cheap .XXX Domain Name Deals in May

First, DYNADOT $9.99 DYNADOT is one of my favorit...

ZXhost 1GB RAM KVM VPS France Review

Details: ZXPlay: $25/year/1GB memory/120GB space/...

【Black Friday】BandwagonHost: 11% off on all items

There is no special offer, only a 19% discount co...

YT Nano: A sophisticated and beautiful WordPress business theme

YT Nano is a commercial theme provided by YOOthem...

Linode now supports PayPal payments

This is good news for those who don’t have dual-c...