To enable dynamic domain name update when Ubuntu is automatically started, find the setting method on the Internet. you can use the sysn-rc-conf command to set the automatic running program. originally thought it could be implemented, but after running it, it found that it can only set the existing startup items (the existing ones should be corresponding to init. d ). however, this setting tool is very intuitive and easy to use. the search continues. Two methods are found. one is to directly rewrite the rc of/etc. local file, add the startup Item in it, but some release versions of lin
To enable dynamic domain name update when Ubuntu is automatically started, find the setting method on the Internet. you can use the sysn-rc-conf command to set the automatic running program. originally thought it could be implemented, but after running it, it found that it can only set the existing startup items (the existing ones should be corresponding to init. d ). however, this setting tool is very intuitive and easy to use.
The search continues. Two methods are found. one is to directly rewrite the rc of/etc. add the startup item to the local file, but some versions of linux may not execute this configuration file, and the other is directly in/etc/init. d. Create a self-starting script, create a link under the RC directory of each level, and set the corresponding file name.
I am a lazy. I chose to modify the rc. local file, insert a row before exit, and add
W3m-no-cookie-dump http: // username: password@members.3322.org/dyndns/update? System = dyndns & hostname = yourdomain.3322.org
After saving and restarting the machine, ping my domain name. The strange ip address is incorrect. Can it work after it is started? Therefore, manually enter the preceding command in the terminal and the result shows no host. it seems that there is a problem with this command. After searching for half a day, I did not find the cause, when I was preparing to install other dynamic domain name tools, I suddenly found that the url followed by w3m on a post was enclosed by quotation marks, while many other materials did not. So I added quotation marks according to the quotation marks, succeeded. modify rc. local and press the quotation mark to restart... if the domain name is successfully pinged, my current ip address is returned.