Udpate my ip on ubuntu system
install lynx
>sudo apt-get install lynx
add to automatic startup
>su root
>vi /etc/rc.local
add one line:
lynx -mime_header -auth=username:password "http://www.3322.org/dyndns/update?system=dyndns&hostname=sillycat.3322.org"
But this way may not work.
>cp proxy.sh ipproxy.sh
>vi ipproxy.sh
#!/bin/sh
lynx -mime_header -auth=username:password "http://www.3322.org/dyndns/update?system=dyndns&hostname=sillycat.3322.org"
then I can execute this command in the future.
>ipproxy.sh
install lynx
>sudo apt-get install lynx
add to automatic startup
>su root
>vi /etc/rc.local
add one line:
lynx -mime_header -auth=username:password "http://www.3322.org/dyndns/update?system=dyndns&hostname=sillycat.3322.org"
But this way may not work.
>cp proxy.sh ipproxy.sh
>vi ipproxy.sh
#!/bin/sh
lynx -mime_header -auth=username:password "http://www.3322.org/dyndns/update?system=dyndns&hostname=sillycat.3322.org"
then I can execute this command in the future.
>ipproxy.sh
本文介绍如何在Ubuntu系统中安装Lynx文本浏览器,并通过编写shell脚本来实现自动化的DNS动态更新。具体步骤包括使用sudo apt-get install lynx命令安装Lynx,然后创建shell脚本来配置自动更新DNS所需的用户名、密码和主机名。
1386

被折叠的 条评论
为什么被折叠?



