AliDDNS tool is a DDNS domain name update tool based on Alibaba Cloud Resolution API. By executing the script, you can quickly update the domain name records on Alibaba Cloud Resolution to achieve the effect of dynamic domain name. In addition, it introduces: using CloudFlare API to deploy fixed domain names for dynamic IP VPS/NAT VPS. CF is recommended, which is simpler! The following are the installation and usage methods. For Debian 8+: For Ubuntu/Debian 7: 2. Download the script, execute and install: The startup menu pops up: Here, we enter 1 (number 1) and press Enter to start the AliDDNS configuration wizard: If you need to set the domain name of AliDDNS to ddns.example.com, please enter example.com here Breaking it down, it is [ddns]. [example.com] At the same time, log in to Alibaba Cloud’s cloud resolution service https://dns.console.aliyun.com/, and add a record on the domain name that requires DDNS:
After completion, press Enter and continue to fill in the secondary domain name: Same as the example above, we enter ddns and press Enter to continue: If you are using the free version of Alibaba Cloud Analytics, the value range that can be filled in here is: 600~86400; After filling in the form, press Enter to continue: AccessKey ID and AccessKey Secret It is recommended to use the permissions assigned by the sub-user AccessKey (access console RAM)! This is the safest way! When using the sub-user AccessKey, please assign the following permissions: AliyunDNSReadOnlyAccess (the permission to read-only access Cloud Resolution (DNS)) and AliyunDNSFullAccess (the permission to manage Cloud Resolution (DNS))! It is recommended that users with hands-on ability use sub-user AccessKey! If you don't know how to operate or want to save trouble, please use the global AccessKey! But you must pay attention at this time! Never disclose your global AccessKey or publish your global AccessKey on the public Internet! This is equivalent to giving your account away for free, and you can also use your Alibaba Cloud account for free! If a leak occurs, please delete the leaked AccessKey immediately! After filling in the form, press Enter to continue: As above, fill in the AccessKey Secret corresponding to your AccessKey ID. Obtaining your AccessKey Secret is a high-risk account operation. Please prepare your mobile phone to receive the Alibaba Cloud verification code! After filling in the form, if the new version of AliDDNS 2.0 does not activate the expert mode, it will directly enter the execution process; if the expert mode is activated, please fill in the following parameters based on your understanding! Otherwise please leave it blank! Enter the command used to obtain the local IP address. If you don't understand or don't need configuration, please leave it blank and press Enter directly! Enter the nslookup command to resolve the DNS server used. If you don't understand or don't need configuration, please leave it blank and press Enter directly! After that, the DDNS (test) operation process will automatically start: [Info] Detected existing configuration, automatically read the existing configuration. If you don't need it, please clear it through the Clean Environment option in the menu. The final DDNS record update success prompt appears, which means that the DDNS record synchronization is successful. Wait for the DNS resolution to take effect later to complete the DDNS domain name change!
A prompt will pop up asking which editor to choose. Please choose a text editor according to your preference: After adding, save and exit. When the prompt crontab: installing new crontab appears, it means that the crontab has been written successfully. Execute the command to restart the cron process: For CentOS: For Ubuntu/Debian: And add Cron to the startup items: For CentOS: For Ubuntu/Debian: The deployment of scheduled tasks can be completed. The full text of this article is reproduced from: https://blog.ilemonrain.com/linux/aliddns-v2.html |
<<: CloudCone: $40/year/512MB memory/100GB SSD space/2TB bandwidth/KVM/Los Angeles
>>: NameCheap: Spend $5 on G Suite, get $25 free
FDCServers, an established hosting provider, prov...
AkkoCloud, a Chinese merchant, was established in...
OVH, the 2019 Black Friday event has begun. This ...
Dedispec, an American hosting company, was founde...
WindowsVPS, an American hosting provider, has bee...
HKISL, affiliated to ISL (a Japanese company esta...
iara.cloud, a newly established Chinese merchant,...
HostSailor, a regular company in Romania, release...
1. Peer1 dedicated Los Angeles data center. Optim...
Details : HostYun: 17.8 yuan/month/512MB memory/1...
Details : IYUN Global: 9.9 yuan/month/512MB memor...
Mengine, a long-established French hosting provid...
ProfitServer, a Russian hosting provider, was est...
LoveVPS是成立于2011年1月的主機商,僅提供VPS,有SSD VPS、KVM VPS、XE...
SubwayHost is a newly established hosting provide...