Page 1 of 1

How to install DNSPod in Docker?

Posted: 30 Dec 2020, 16:26
by TMSupport
DNSPod is a free smart DNS product which can provide intelligent analysis for website.

Applicable Model:
X86 models: F2-220, F2-221, F2-420, F2-421, F4-220, F4-221, F4-420, F4-421, F5-220, F5-221, F5-225, F5-420, F5-421, F5-422, F8-421, F8-422.
ARM models: F2-210, F4-210.

Compatible TOS version:
X86_TOS_4.1.31 and above, ARM_TOS_4.1.32 and above.

Instructions:
1. Input dnspod at Registry under Docker to search and download the suitable image.
2. You have to create a configuration file before setting it up, please create a new txt file with the following contents under a shared folder of TNAS:
LOGIN_TOKEN=token_id,token (Required: the keys ID and token you get from DNSPod website, separated by comma).
DOMAIN=domain.com (Required: the domain name that needs to be resolved in DNSPod).
SUB_DOMAIN=www (Required: the subdomain name of DDNS).
INTERVAL=5 (Optional: the interval of polling check in seconds, 5 as default).
EMAIL=[email protected] (Optional: your email address).
IP_COUNT=1 (Optional: number of export IPs of your server).
DNSPod_txt.png
3. Check the downloaded image and click Launch.
4. Configure the created TXT file as the following picture shows, the Loading path should be /etc/dnspod/ddnsrc, the inputted tcp port at Port Settings needs to be forwarded on the router.
DNSPod_path.png
5. You can check the tcp port at Container - Details- Overview when the image is launched successfully.
DNSPod_domain.png
6. Then you can enter the domain name with the port such as www.yangxiuwen.xyz:32400 to access your TNAS.