<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>水草树 &#187; zoneedit</title>
	<atom:link href="http://mifunny.info/tag/zoneedit/feed" rel="self" type="application/rss+xml" />
	<link>http://mifunny.info</link>
	<description>走走停停看看，恍然大悟。</description>
	<lastBuildDate>Sat, 27 Aug 2011 18:25:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>在Linux下实现动态域名</title>
		<link>http://mifunny.info/use-dynamic-domain-under-linux-126.html</link>
		<comments>http://mifunny.info/use-dynamic-domain-under-linux-126.html#comments</comments>
		<pubDate>Fri, 10 Oct 2008 14:59:53 +0000</pubDate>
		<dc:creator>LD</dc:creator>
				<category><![CDATA[大佛Linux]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[zoneedit]]></category>
		<category><![CDATA[动态域名]]></category>

		<guid isPermaLink="false">http://mifunny.info/use-dynamic-domain-under-linux-126.html</guid>
		<description><![CDATA[内网中的生活实在很艰辛…… 遥想当年为了能方便大伙挑 CS， LD 在童鞋的牛鼻电脑上搞了个 CS服务器，还是为了方便访问 CS服务器， 用花生壳实现了动态域名。（宿舍网络不在同一局域网中，平时楼上楼下只能拉线了事） 虽然花生壳也是有 Linux版的，但其只能使用免费的二级域名还是让人很不爽。 前段时间一不小心看到有人介绍国外免费的域名解析服务站点: zoneedit，支持顶级域名; 试了一下子，果然不是盖的，简简单单实现了动态域名。 纪录一下步骤： 配置好你的 LAMP（记住，点不亮不行哦，别人会迷路的）; 不幸生存在路由之后的，做好端口映射; 去 zoneedit 注册一个账号，它会把用户名和密码发到你的邮箱里; 把你域名的DNS改成: ns13.zoneedit.com 和 ns17.zoneedit.com ;（万网的域名解析比较慢，等吧……） 把域名（以 mifunny.cn 为例）加入 zoneedit 的 zone 中; 编辑 zone 的&#8221;IP addresses (A)&#8221;选项， 添加 mifunny.cn 、www.mifunny.cn 和 *.mifunny.cn 添加到你目前的公网IP（使用 whois 查询）; 你也可以把二级域名定向到不同的主机上，总之主动权在你自己手中哦 ^{^ 在自己的主机上安装 ddclient， Arch 和 Ubuntu 用户直接使用软件源安装; 编辑 /etc/ddclient/ddclient.conf [...]]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 2em" >内网中的生活实在很艰辛…… 遥想当年为了能方便大伙挑 CS， LD 在童鞋的牛鼻电脑上搞了个 CS服务器，还是为了方便访问 CS服务器， 用花生壳实现了动态域名。（宿舍网络不在同一局域网中，平时楼上楼下只能拉线了事）</p>
<p style="text-indent: 2em" >虽然花生壳也是有 Linux版的，但其只能使用免费的二级域名还是让人很不爽。 前段时间一不小心看到有人介绍国外免费的域名解析服务站点: <a href="http://www.zoneedit.com/" target="_bank" title="免费域名解析" alt="免费域名解析  DNS">zoneedit</a>，支持顶级域名; 试了一下子，果然不是盖的，简简单单实现了动态域名。 纪录一下步骤：</p>
<p><span id="more-126"></span>
<ol style="list-style-type: decimal">
<li>配置好你的 LAMP（记住，点不亮不行哦，别人会迷路的）;<br />  不幸生存在路由之后的，做好端口映射;</li>
<p>
<li>
<ol style="list-style-type: lower-alpha">
<li>去 <a href="http://www.zoneedit.com/signup.html?" target="_bank" title="免费域名解析" alt="免费域名解析  DNS">zoneedit</a> 注册一个账号，它会把用户名和密码发到你的邮箱里;</li>
<li>把你域名的DNS改成: ns13.zoneedit.com 和  ns17.zoneedit.com ;（万网的域名解析比较慢，等吧……）</li>
<li>把域名（以 <a href="http://mifunny.info" alt="mifunny 水草树">mifunny.cn</a> 为例）加入 zoneedit 的 zone 中;</li>
<li>编辑 zone 的&#8221;IP addresses (A)&#8221;选项， 添加 mifunny.cn 、www.mifunny.cn 和 *.mifunny.cn 添加到你目前的公网IP（使用 <a href="http://www.who.is/" target="_bank" >whois</a> 查询）;</li>
<li>你也可以把二级域名定向到不同的主机上，总之主动权在你自己手中哦 ^{^</li>
</ol>
</li>
<p>
<li>
<ol style="list-style-type: lower-roman">
<li>在自己的主机上安装 ddclient， Arch 和 Ubuntu 用户直接使用软件源安装;</li>
<li>编辑 /etc/ddclient/ddclient.conf ，这个文件不同发行版位置不同; </li>
<li>配置如下：<coolcode><br />
daemon=300     # 每隔 300秒更新一次IP<br />
syslog=yes     # log update msgs to syslog<br />
pid=/var/run/ddclient.pid   # record PID in file.<br />
ssl=yes       # use ssl-support.  Works with ssl-library<br />
##<br />
## ZoneEdit (zoneedit.com)<br />
##<br />
server=dynamic.zoneedit.com,<br />
protocol=zoneedit1,<br />
use=web,web=www.who.is/,web-skip=&#8217;Your IP is &#8216;<br />
login=&#8217;邮件中的用户名&#8217;,<br />
password=&#8217;邮件中的密码&#8217;<br />
# your.any.domain,your-2nd.any.dom<br />
mifunny.cn<br />
www.mifunny.cn<br />
*.mifunny.cn</coolcode></li>
<li>启动ddclient， ~$ sudo /etc/rc.d/ddclient start </li>
</ol>
</li>
<p>
<li>还不知足？ 那么把 ddclient 添加到开机服务里。 遇到问题请 Google、Baidu</li>
</ol>
<p style="text-indent: 2em" >实际上 ddclient.conf 列出了好多配置方案，对应不同商： dyndns.org 、zoneedit.com 、easydns.com 、hn.org 、dslreports.com 、orgdns.org 、dnspark.com 、namecheap.com 。 有兴趣可以一个一个都试试，总有适合你的。</p>
]]></content:encoded>
			<wfw:commentRss>http://mifunny.info/use-dynamic-domain-under-linux-126.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

