<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://linux-wiki.cn/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
		<id>http://linux-wiki.cn/index.php?action=history&amp;feed=atom&amp;title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D</id>
		<title>动态域名 - 修订历史</title>
		<link rel="self" type="application/atom+xml" href="http://linux-wiki.cn/index.php?action=history&amp;feed=atom&amp;title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D"/>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;action=history"/>
		<updated>2026-04-09T04:51:25Z</updated>
		<subtitle>本站上此页的修订历史</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=2053&amp;oldid=prev</id>
		<title>Chenxing: 已恢复Wingramo（讨论）的编辑至Chenxing的最后一个修订版本</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=2053&amp;oldid=prev"/>
				<updated>2012-12-18T08:03:00Z</updated>
		
		<summary type="html">&lt;p&gt;已恢复&lt;a href=&quot;/wiki/Special:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Wingramo&quot; title=&quot;Special:用户贡献/Wingramo&quot;&gt;Wingramo&lt;/a&gt;（&lt;a href=&quot;/index.php?title=User_talk:Wingramo&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Wingramo（尚未撰写）&quot;&gt;讨论&lt;/a&gt;）的编辑至&lt;a href=&quot;/wiki/User:Chenxing&quot; title=&quot;User:Chenxing&quot;&gt;Chenxing&lt;/a&gt;的最后一个修订版本&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2012年12月18日 (二) 08:03所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第27行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第27行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;如果不提供IP，服务器可以自动判断请求的来源IP。但有时（如使用VPN时）请求来源IP并非电脑的真实IP，此时要将''SetIP''设为''True''，并使用[[Shell中获取当前IP地址|脚本获得电脑目前的IP]]。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;如果不提供IP，服务器可以自动判断请求的来源IP。但有时（如使用VPN时）请求来源IP并非电脑的真实IP，此时要将''SetIP''设为''True''，并使用[[Shell中获取当前IP地址|脚本获得电脑目前的IP]]。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''来源:'''[http://www.downloadranking.com&amp;#160; 动态域名]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==启动时自动更新==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==启动时自动更新==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chenxing</name></author>	</entry>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=2004&amp;oldid=prev</id>
		<title>Wingramo在2012年12月16日 (日) 14:23</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=2004&amp;oldid=prev"/>
				<updated>2012-12-16T14:23:25Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2012年12月16日 (日) 14:23所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第29行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第29行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''来源:'''[http://www.downloadranking.com&amp;#160; 动态域名]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;''来源:'''[http://www.downloadranking.com&amp;#160; 动态域名]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==启动时自动更新==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==启动时自动更新==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wingramo</name></author>	</entry>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=2003&amp;oldid=prev</id>
		<title>Wingramo: /* 更新域名指向 */</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=2003&amp;oldid=prev"/>
				<updated>2012-12-16T14:22:36Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;更新域名指向&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2012年12月16日 (日) 14:22所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第27行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第27行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;如果不提供IP，服务器可以自动判断请求的来源IP。但有时（如使用VPN时）请求来源IP并非电脑的真实IP，此时要将''SetIP''设为''True''，并使用[[Shell中获取当前IP地址|脚本获得电脑目前的IP]]。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;如果不提供IP，服务器可以自动判断请求的来源IP。但有时（如使用VPN时）请求来源IP并非电脑的真实IP，此时要将''SetIP''设为''True''，并使用[[Shell中获取当前IP地址|脚本获得电脑目前的IP]]。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''来源:'''[http://www.downloadranking.com&amp;#160; 动态域名]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==启动时自动更新==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==启动时自动更新==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wingramo</name></author>	</entry>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=1871&amp;oldid=prev</id>
		<title>Chenxing: 使用希网动态域名移动到动态域名</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=1871&amp;oldid=prev"/>
				<updated>2012-06-03T18:57:10Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/%E4%BD%BF%E7%94%A8%E5%B8%8C%E7%BD%91%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&quot; class=&quot;mw-redirect&quot; title=&quot;使用希网动态域名&quot;&gt;使用希网动态域名&lt;/a&gt;移动到&lt;a href=&quot;/wiki/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&quot; title=&quot;动态域名&quot;&gt;动态域名&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;在2012年6月3日 (日) 18:57所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Chenxing</name></author>	</entry>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=1870&amp;oldid=prev</id>
		<title>Chenxing: No-IP等</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=1870&amp;oldid=prev"/>
				<updated>2012-06-03T18:56:35Z</updated>
		
		<summary type="html">&lt;p&gt;No-IP等&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2012年6月3日 (日) 18:56所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;使 &lt;/del&gt;用 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;动态域名指向可以使 &lt;/del&gt;一个域名 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;固定地 &lt;/del&gt;指向一台IP可能变化的电脑 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;。拿个人电脑架服务器的用户多使用 &lt;/del&gt;动态域名。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;用 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;个人电脑架设服务器或想远程控制电脑时，常需要 &lt;/ins&gt;一个 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;固定的 &lt;/ins&gt;域名 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;， &lt;/ins&gt;指向一台IP可能变化的电脑 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;，即 &lt;/ins&gt;动态域名。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;希网（ www.3322.org&amp;#160;） &lt;/del&gt;提供免费 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;的 &lt;/del&gt;动态域名 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;，请先在&lt;/del&gt;[http://www.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3322&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;org&lt;/del&gt;/&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;希网&lt;/del&gt;] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;注册帐户并建立动态域名 &lt;/del&gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;目前 &lt;/ins&gt;提供免费动态域名 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;的有国内的&lt;/ins&gt;[http://www.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pubyun&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/ins&gt;/&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;公云（原3322）&lt;/ins&gt;] &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;、和[http://www.no-ip.com No-IP]等 &lt;/ins&gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==更新域名指向==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==更新域名指向==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;在Linux中，可以使用&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[wget]] &lt;/del&gt;更新域名指向 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;，你需要在网址中 &lt;/del&gt;提供&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''用户名'''、'''密码'''和'''域名''' &lt;/del&gt;， &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;也 &lt;/del&gt;可以 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;提供指向的IP &lt;/del&gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;在Linux中， &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;一般 &lt;/ins&gt;可以使用 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;服务提供商提供的工具 &lt;/ins&gt;更新域名 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;的 &lt;/ins&gt;指向 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;。如No-IP &lt;/ins&gt;提供 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;的更新工具 &lt;/ins&gt;， &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;在Archlinux中 &lt;/ins&gt;可以 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;通过软件包&amp;lt;tt&amp;gt;noip&amp;lt;/tt&amp;gt;安装 &lt;/ins&gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;下面的bash脚本 &lt;/del&gt;可以更新域名指向。&amp;lt;ref&amp;gt;http://www.cyberciti.biz/tips/read-unixlinux-system-ip-address-in-a-shell-script.html&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;http://yaoms.blog.ubuntu.org.cn/2008/04/10/3322%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E7%BB%91%E5%AE%9A%EF%BC%88wget%E7%89%88%EF%BC%89/&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;另外，对于很多服务而言，使用[[wget]]一个包含'''用户名'''、'''密码'''和'''域名'''的URL，也 &lt;/ins&gt;可以更新 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;动态 &lt;/ins&gt;域名 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;的 &lt;/ins&gt;指向 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;（A记录） &lt;/ins&gt;。&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;ref&amp;gt;[http://www.no-ip.com/integrate/request No-IP的API文档]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://www.pubyun.com/wiki/%E5%B8%AE%E5%8A%A9:api&amp;#160;小辣椒（3322）动态域名更新API]&amp;lt;/ref&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;下面的是一个样例Bash脚本，适用于3322&lt;/ins&gt;&amp;lt;ref&amp;gt;http://www.cyberciti.biz/tips/read-unixlinux-system-ip-address-in-a-shell-script.html&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;http://yaoms.blog.ubuntu.org.cn/2008/04/10/3322%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E7%BB%91%E5%AE%9A%EF%BC%88wget%E7%89%88%EF%BC%89/&amp;lt;/ref&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;：&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第24行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第26行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;如果不提供IP， &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;希网将 &lt;/del&gt;自动判断 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;您的IP， &lt;/del&gt;有时 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;可能判断错误，比 &lt;/del&gt;如 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;如果你用教育网直通车 &lt;/del&gt;， &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;请将SetIP &lt;/del&gt;设 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;为True。如果将SetIP设置为true &lt;/del&gt;， &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;则不能以普通 &lt;/del&gt;用 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;户运行该 &lt;/del&gt;脚本 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;。请按实际情况设置SetIP变量的值 &lt;/del&gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;如果不提供IP， &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;服务器可以 &lt;/ins&gt;自动判断 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;请求的来源IP。但 &lt;/ins&gt;有时 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;（ &lt;/ins&gt;如 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;使用VPN时）请求来源IP并非电脑的真实IP &lt;/ins&gt;， &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;此时要将''SetIP'' &lt;/ins&gt;设 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;为''True'' &lt;/ins&gt;， &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;并使 &lt;/ins&gt;用&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Shell中获取当前IP地址| &lt;/ins&gt;脚本 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;获得电脑目前的IP]] &lt;/ins&gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==启动时自动更新==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==启动时自动更新==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chenxing</name></author>	</entry>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=1047&amp;oldid=prev</id>
		<title>Chenxing在2008年12月2日 (二) 12:53</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=1047&amp;oldid=prev"/>
				<updated>2008-12-02T12:53:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2008年12月2日 (二) 12:53所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第34行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第34行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; updateDNS&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; updateDNS&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;这样系统每次启动时就会更新域名的指向了。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;这样系统每次启动时就会更新域名的指向了。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;更合理的，updateDNS应在网络连接建立自动运行，而不是在系统启动时，具体的设置方法请参照[[网络连接建立后自动运行程序]]。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==参考资料==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==参考资料==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chenxing</name></author>	</entry>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=1004&amp;oldid=prev</id>
		<title>Chenxing: 加入了语言设置，防止中文locale下获取IP失败</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=1004&amp;oldid=prev"/>
				<updated>2008-11-20T10:15:18Z</updated>
		
		<summary type="html">&lt;p&gt;加入了语言设置，防止中文locale下获取IP失败&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2008年11月20日 (四) 10:15所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第17行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第17行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;if $SetIP ; then&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;if $SetIP ; then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; #&amp;#160;下面从ifconfig获取IP，如果需要，可以手动更改&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; #&amp;#160;下面从ifconfig获取IP，如果需要，可以手动更改&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; MYIP=`ifconfig&amp;#160; | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'| head -n1`&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; MYIP=`&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;LANG=C &lt;/ins&gt;ifconfig&amp;#160; | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'| head -n1`&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; wget -q -O- &amp;quot;http://$USERNAME:$PASSWORD@members.3322.org/dyndns/update?system=dyndns&amp;amp;hostname=$DOMAINNAME&amp;amp;myip=$MYIP&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; wget -q -O- &amp;quot;http://$USERNAME:$PASSWORD@members.3322.org/dyndns/update?system=dyndns&amp;amp;hostname=$DOMAINNAME&amp;amp;myip=$MYIP&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;else&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;else&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chenxing</name></author>	</entry>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=879&amp;oldid=prev</id>
		<title>Chenxing: /* 更新域名指向 */</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=879&amp;oldid=prev"/>
				<updated>2008-09-13T12:27:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;更新域名指向&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2008年9月13日 (六) 12:27所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第4行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第4行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==更新域名指向==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==更新域名指向==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;在Linux中，可以使 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;用wget &lt;/del&gt;更新域名指向，你需要在网址中提供'''用户名'''、'''密码'''和'''域名'''，也可以提供指向的IP。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;在Linux中，可以使 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;用[[wget]] &lt;/ins&gt;更新域名指向，你需要在网址中提供'''用户名'''、'''密码'''和'''域名'''，也可以提供指向的IP。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;下面的bash脚本可以更新域名指向。&amp;lt;ref&amp;gt;http://www.cyberciti.biz/tips/read-unixlinux-system-ip-address-in-a-shell-script.html&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;http://yaoms.blog.ubuntu.org.cn/2008/04/10/3322%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E7%BB%91%E5%AE%9A%EF%BC%88wget%E7%89%88%EF%BC%89/&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;下面的bash脚本可以更新域名指向。&amp;lt;ref&amp;gt;http://www.cyberciti.biz/tips/read-unixlinux-system-ip-address-in-a-shell-script.html&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;http://yaoms.blog.ubuntu.org.cn/2008/04/10/3322%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E7%BB%91%E5%AE%9A%EF%BC%88wget%E7%89%88%EF%BC%89/&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chenxing</name></author>	</entry>

	<entry>
		<id>http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=800&amp;oldid=prev</id>
		<title>Chenxing: 新页面: 使用动态域名指向可以使一个域名固定地指向一台IP可能变化的电脑。拿个人电脑架服务器的用户多使用动态域名。  希网（ www.3322.org ）提供...</title>
		<link rel="alternate" type="text/html" href="http://linux-wiki.cn/index.php?title=%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D&amp;diff=800&amp;oldid=prev"/>
				<updated>2008-06-24T03:01:48Z</updated>
		
		<summary type="html">&lt;p&gt;新页面: 使用动态域名指向可以使一个域名固定地指向一台IP可能变化的电脑。拿个人电脑架服务器的用户多使用动态域名。  希网（ www.3322.org ）提供...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新建页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;使用动态域名指向可以使一个域名固定地指向一台IP可能变化的电脑。拿个人电脑架服务器的用户多使用动态域名。&lt;br /&gt;
&lt;br /&gt;
希网（ www.3322.org ）提供免费的动态域名，请先在[http://www.3322.org/ 希网]注册帐户并建立动态域名。&lt;br /&gt;
&lt;br /&gt;
==更新域名指向==&lt;br /&gt;
在Linux中，可以使用wget更新域名指向，你需要在网址中提供'''用户名'''、'''密码'''和'''域名'''，也可以提供指向的IP。&lt;br /&gt;
&lt;br /&gt;
下面的bash脚本可以更新域名指向。&amp;lt;ref&amp;gt;http://www.cyberciti.biz/tips/read-unixlinux-system-ip-address-in-a-shell-script.html&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;http://yaoms.blog.ubuntu.org.cn/2008/04/10/3322%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E7%BB%91%E5%AE%9A%EF%BC%88wget%E7%89%88%EF%BC%89/&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
USERNAME=&amp;quot;你的用户名&amp;quot;&lt;br /&gt;
PASSWORD=&amp;quot;你的密码&amp;quot;&lt;br /&gt;
DOMAINNAME=&amp;quot;你的完整的动态域名&amp;quot;&lt;br /&gt;
SetIP=false      # 为true时用ifconfig返回的IP设定DNS，否则由服务器自己判断&lt;br /&gt;
&lt;br /&gt;
if $SetIP ; then&lt;br /&gt;
    # 下面从ifconfig获取IP，如果需要，可以手动更改&lt;br /&gt;
    MYIP=`ifconfig  | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'| head -n1`&lt;br /&gt;
    wget -q -O- &amp;quot;http://$USERNAME:$PASSWORD@members.3322.org/dyndns/update?system=dyndns&amp;amp;hostname=$DOMAINNAME&amp;amp;myip=$MYIP&amp;quot;&lt;br /&gt;
else&lt;br /&gt;
    wget -q -O- &amp;quot;http://$USERNAME:$PASSWORD@members.3322.org/dyndns/update?system=dyndns&amp;amp;hostname=$DOMAINNAME&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
如果不提供IP，希网将自动判断您的IP，有时可能判断错误，比如如果你用教育网直通车，请将SetIP设为True。如果将SetIP设置为true，则不能以普通用户运行该脚本。请按实际情况设置SetIP变量的值。&lt;br /&gt;
&lt;br /&gt;
==启动时自动更新==&lt;br /&gt;
您需要切换到root用户或使用sudo进行下面的操作。&lt;br /&gt;
&lt;br /&gt;
将上面的脚本存入适当的文件夹，如''/usr/bin/updateDNS''，并增加可执行权限：&lt;br /&gt;
 # chmod +x /usr/bin/updateDNS&lt;br /&gt;
修改''/etc/rc.local''，在exit 0前面加入一行：&lt;br /&gt;
 updateDNS&lt;br /&gt;
这样系统每次启动时就会更新域名的指向了。&lt;br /&gt;
&lt;br /&gt;
==参考资料==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: 服务器配置]]&lt;/div&gt;</summary>
		<author><name>Chenxing</name></author>	</entry>

	</feed>