1. First download ddclient
[Url] https://www.dyndns.com/download/clients/unix/ddclient.tar.gz#/url]
2.decompress ddclient.tar.gz
3. Copy the ddclient file to/usr/sbin/
# Cp ddclient/usr/sbin/
4. Create the/etc/ddclient directory
# Mkdir/etc/ddclient
5. Copy the sample-etc_ddclient.conf file to/etc/ddclient/and rename it ddclient. conf
# Cp sample-etc_ddclient.conf/etc/ddclient. conf
6. Edit ddclient. conf (the most important step)
Dyndns mainly supports dyndns.org hn.org zoneedit.com easydns.com dnspark.com orgdns.org dslreports. com namecheap.com, where zoneedit can be bound to top-level domain names and is free of charge. (There are several other items that are free of charge. I have not tried them. Please SEARCH FOR THE zoneedit usage by yourself .)
# Use = web, Web = checkip.dyndns.org/, web-Skip = 'IP address' # found after IP Address
# Server = www.zoneedit.com ,/
# Protocol = zoneedit1 ,/
# Login = Your-zoneedit-login ,/
# Password = Your-zoneedit-Password/
# Your. Any. domain, your-2nd.any.dom
Is
# Use = web, Web = checkip.dyndns.org/, web-Skip = 'IP address' # found after IP Address
Use = web, Web = www.ip138.com/, web-Skip = 'your IP address is: '# found after IP Address
Server = www.zoneedit.com ,/
Protocol = zoneedit1 ,/
Login = your username in zoneedit ,/
Password = PASSWORD/
Your. Any. domain, your-2nd.any.dom (domain name to be updated)
I think using use = web is the simplest and most convenient. Both the Internet and Intranet have public IP addresses. what's better for ADSL Router users is, the program connects to [url] www.ip138.com [/url] at intervals to ensure that the ADSL connection is continuously enabled (because the ADSL Router will automatically stop the connection after a period of time without traffic ). The only drawback is that if [url] www.ip138.com [/url] is down, your website will also be down. Haha, but I haven't found it before using ip138.com. There are also several ways to get the IP address, such as getting the NIC address, getting the firewall address, and getting the router address. You can try it yourself.
7. Copy the sample-etc_rc.d_init.d_ddclient file to/etc/rc. d/and rename it ddclient
# Cp sample-etc_rc.d_init.d_ddclient/etc/rc. d/init. d/ddclient
8. edit/etc/rc. d/rc. Local and add the following line:
/Etc/rc. d/init. d/ddclient start
9. manually update once
#/Etc/rc. d/init. d/ddclient start
Automatic updates will be available later