<?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>狂人山庄 &#124; Silence,声仔,吴洪声,奶罩 &#187; dns</title>
	<atom:link href="http://wuhongsheng.com/tag/dns/feed/" rel="self" type="application/rss+xml" />
	<link>http://wuhongsheng.com</link>
	<description>响应我党号召,全面建设和谐博客,坚持和谐写博的路线不动摇</description>
	<lastBuildDate>Mon, 14 Jun 2010 06:54:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>UUCall域名被clientHold</title>
		<link>http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/</link>
		<comments>http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 12:28:11 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[clienthold]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnspod]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[tgbus]]></category>
		<category><![CDATA[uucall]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/?p=345</guid>
		<description><![CDATA[Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA DNS.COM.CN Whois Server: whois.dns.com.cn Referral URL: http://www.dns.com.cn Name Server: NS1.MYDNSPOD.COM Name Server: NS2.MYDNSPOD.COM Status: clientHold Updated Date: 07-oct-2009 Creation Date: 23-feb-2004 Expiration Date: 23-feb-2010 又是一起国内大型网站的域名被注册商下毒手的事件。这样的事情一而再的警告我们：别在国内注册域名 可怜了，uucall还是DNSPod的VIP用户。不知道这次他们要花多少钱打通关系才能解封域名。TGBus就是一个很好的例子 再次奉劝各位：如果你的网站流量不少，为了你网站着想，请及时把域名转移到国外的注册商 Related posts:jwhois无法查询dot cc域名whois信息的解决办法 jwhois是linux下面内置的一个whois客户端。 jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。 解决的办法： 编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容 &#34;whois\\.nic\\.cc&#34; { whois-redirect... Related posts brought to you [...]


Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/' rel='bookmark' title='Permanent Link: jwhois无法查询dot cc域名whois信息的解决办法'>jwhois无法查询dot cc域名whois信息的解决办法</a> <small>jwhois是linux下面内置的一个whois客户端。 jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。 解决的办法： 编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容 &quot;whois\\.nic\\.cc&quot; { whois-redirect...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>   Domain Name: UUCALL.COM<br />
   Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA DNS.COM.CN<br />
   Whois Server: whois.dns.com.cn<br />
   Referral URL: http://www.dns.com.cn<br />
   Name Server: NS1.MYDNSPOD.COM<br />
   Name Server: NS2.MYDNSPOD.COM<br />
   Status: clientHold<br />
   Updated Date: 07-oct-2009<br />
   Creation Date: 23-feb-2004<br />
   Expiration Date: 23-feb-2010</p>
<p>又是一起国内大型网站的域名被注册商下毒手的事件。这样的事情一而再的警告我们：别在国内注册域名</p>
<p>可怜了，uucall还是DNSPod的VIP用户。不知道这次他们要花多少钱打通关系才能解封域名。TGBus就是一个<a href="http://wuhongsheng.com/it/2009/02/do-you-still-trust-domestic-domain-registration-agency/">很好的例子</a></p>
<p>再次奉劝各位：如果你的网站流量不少，为了你网站着想，请及时把域名转移到国外的注册商</p>


<p>Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/' rel='bookmark' title='Permanent Link: jwhois无法查询dot cc域名whois信息的解决办法'>jwhois无法查询dot cc域名whois信息的解决办法</a> <small>jwhois是linux下面内置的一个whois客户端。 jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。 解决的办法： 编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容 &quot;whois\\.nic\\.cc&quot; { whois-redirect...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>半分钟，简单三步，Snow Leopard下本机搭个DNS</title>
		<link>http://wuhongsheng.com/it/2009/09/enable-bind-under-snow-leopard-to-avoid-dns-cheating-in-a-minute/</link>
		<comments>http://wuhongsheng.com/it/2009/09/enable-bind-under-snow-leopard-to-avoid-dns-cheating-in-a-minute/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 16:37:46 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dns cheat]]></category>
		<category><![CDATA[gfw]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/?p=312</guid>
		<description><![CDATA[总所周至的原因，最近大家上网都不好过。今天上mail.live.com被墙，DNS被欺骗成10.0.1.1，itunes store也打不开，拨上vpn后正常。但iphone的mobile me同步是彻底不正常了，充满电的iphone，6个小时耗掉了全部的电。网上一查gprs的流量，跑了10多M。最后查清还是跟被墙有关，连接不上外网（姑且这样称之）导致一直iphone重试，就连我拨上vpn都没用。 简简单单，先把DNS劫持解决了再说。其实Mac OS X一直内置了BIND，从10.4到10.5到snow leopard的10.6。但默认是没打开的。下面就教大家一招，半分钟打开 1.编辑/etc/named.conf，把下面的内容注释掉 // // Include keys file // //include &#34;/etc/rndc.key&#34;; ...... // // Default controls // //controls { // inet 127.0.0.1 port 54 allow {any;} // keys { &#34;rndc-key&#34;; }; //}; 2.下面的命令跑一次 sudo launchctl load -w /System/Library/LaunchDaemons/org.isc.named.plist 3.把DNS改为127.0.0.1，enjoy it UPDATE:有人问到不想用了怎么办 sudo launchctl unload /System/Library/LaunchDaemons/org.isc.named.plist Related posts:Snow Leopard下跨版本编译程序 手头有个软件需要编译给另外一台macbook pro用，但另外的机器没有make/gcc之类的编译环境，并且是leopard的系统。所以我需要在我现在的snow [...]


Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/10/snow-leopard-cross-platform-compile-program/' rel='bookmark' title='Permanent Link: Snow Leopard下跨版本编译程序'>Snow Leopard下跨版本编译程序</a> <small>手头有个软件需要编译给另外一台macbook pro用，但另外的机器没有make/gcc之类的编译环境，并且是leopard的系统。所以我需要在我现在的snow leopard来进行跨版本编译 其实很简单，只需要在设定几个环境变量，然后再编译就可以了 export MACOSX_DEPLOYMENT_TARGET=10.5 export ARCHFLAGS='-arch i386' export...</small></li>
<li><a href='http://wuhongsheng.com/mac/2009/09/how-to-extract-bootcamp-driver-from-snow-leopard-dmg/' rel='bookmark' title='Permanent Link: 从Snow Leopard中提取BootCamp 3.0的驱动'>从Snow Leopard中提取BootCamp 3.0的驱动</a> <small>1.首先确保你有snow leopard的dmg文件 2.不要加载这个dmg文件。如果已经加载，先推出 3.打开终端（实用工具中），输入下面的命令（把dmg文件的路径替换成你的。最方便的方法是直接把dmg文件拖到终端内，会自动生成文件的完整路径） sudo hdid -nomount /Users/Sam/Downloads/snowleopard_10a432_userdvd.dmg 4.你会看到类似下面的输出，这里我们需要disk4中的4 /dev/disk4...</small></li>
<li><a href='http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/' rel='bookmark' title='Permanent Link: jwhois无法查询dot cc域名whois信息的解决办法'>jwhois无法查询dot cc域名whois信息的解决办法</a> <small>jwhois是linux下面内置的一个whois客户端。 jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。 解决的办法： 编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容 &quot;whois\\.nic\\.cc&quot; { whois-redirect...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>总所周至的原因，最近大家上网都不好过。今天上mail.live.com被墙，DNS被欺骗成10.0.1.1，itunes store也打不开，拨上vpn后正常。但iphone的mobile me同步是彻底不正常了，充满电的iphone，6个小时耗掉了全部的电。网上一查gprs的流量，跑了10多M。最后查清还是跟被墙有关，连接不上外网（姑且这样称之）导致一直iphone重试，就连我拨上vpn都没用。</p>
<p>简简单单，先把DNS劫持解决了再说。其实Mac OS X一直内置了BIND，从10.4到10.5到snow leopard的10.6。但默认是没打开的。下面就教大家一招，半分钟打开</p>
<p>1.编辑/etc/named.conf，把下面的内容注释掉</p>

<div class="wp_syntax"><div class="code"><pre class="conf" style="font-family:monospace;">//
// Include keys file
//
//include &quot;/etc/rndc.key&quot;;
......
//
// Default controls
//
//controls {
//        inet 127.0.0.1 port 54 allow {any;}
//        keys { &quot;rndc-key&quot;; };
//};</pre></div></div>

<p>2.下面的命令跑一次</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> launchctl load <span style="color: #660033;">-w</span> <span style="color: #000000; font-weight: bold;">/</span>System<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>LaunchDaemons<span style="color: #000000; font-weight: bold;">/</span>org.isc.named.plist</pre></div></div>

<p>3.把DNS改为127.0.0.1，enjoy it</p>
<p>UPDATE:有人问到不想用了怎么办</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> launchctl unload <span style="color: #000000; font-weight: bold;">/</span>System<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>LaunchDaemons<span style="color: #000000; font-weight: bold;">/</span>org.isc.named.plist</pre></div></div>



<p>Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/10/snow-leopard-cross-platform-compile-program/' rel='bookmark' title='Permanent Link: Snow Leopard下跨版本编译程序'>Snow Leopard下跨版本编译程序</a> <small>手头有个软件需要编译给另外一台macbook pro用，但另外的机器没有make/gcc之类的编译环境，并且是leopard的系统。所以我需要在我现在的snow leopard来进行跨版本编译 其实很简单，只需要在设定几个环境变量，然后再编译就可以了 export MACOSX_DEPLOYMENT_TARGET=10.5 export ARCHFLAGS='-arch i386' export...</small></li>
<li><a href='http://wuhongsheng.com/mac/2009/09/how-to-extract-bootcamp-driver-from-snow-leopard-dmg/' rel='bookmark' title='Permanent Link: 从Snow Leopard中提取BootCamp 3.0的驱动'>从Snow Leopard中提取BootCamp 3.0的驱动</a> <small>1.首先确保你有snow leopard的dmg文件 2.不要加载这个dmg文件。如果已经加载，先推出 3.打开终端（实用工具中），输入下面的命令（把dmg文件的路径替换成你的。最方便的方法是直接把dmg文件拖到终端内，会自动生成文件的完整路径） sudo hdid -nomount /Users/Sam/Downloads/snowleopard_10a432_userdvd.dmg 4.你会看到类似下面的输出，这里我们需要disk4中的4 /dev/disk4...</small></li>
<li><a href='http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/' rel='bookmark' title='Permanent Link: jwhois无法查询dot cc域名whois信息的解决办法'>jwhois无法查询dot cc域名whois信息的解决办法</a> <small>jwhois是linux下面内置的一个whois客户端。 jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。 解决的办法： 编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容 &quot;whois\\.nic\\.cc&quot; { whois-redirect...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/it/2009/09/enable-bind-under-snow-leopard-to-avoid-dns-cheating-in-a-minute/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>jwhois无法查询dot cc域名whois信息的解决办法</title>
		<link>http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/</link>
		<comments>http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:34:34 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[cc]]></category>
		<category><![CDATA[conf]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[dotcc]]></category>
		<category><![CDATA[jwhois]]></category>
		<category><![CDATA[whois]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/?p=305</guid>
		<description><![CDATA[jwhois是linux下面内置的一个whois客户端。 jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。 解决的办法： 编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容 &#34;whois\\.nic\\.cc&#34; { whois-redirect = &#34;.*Whois Server: \\(.*\\)&#34;; } 其他域名也可以如法泡制 update: 增加.vc域名支持的办法，同样是相同的文件，增加.vc的whois服务器就可以了 &#34;\\.va$&#34; = &#34;whois.ripe.net&#34;; &#34;\\.vc$&#34; = &#34;whois2.afilias-grs.net&#34;; &#34;\\.ve$&#34; = &#34;whois.nic.ve&#34;; Related posts:UUCall域名被clientHold Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA... Related posts brought to you by Yet Another Related Posts Plugin.


Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/' rel='bookmark' title='Permanent Link: UUCall域名被clientHold'>UUCall域名被clientHold</a> <small>Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>jwhois是linux下面内置的一个whois客户端。</p>
<p>jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。</p>
<p>解决的办法：<br />
编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容</p>

<div class="wp_syntax"><div class="code"><pre class="conf" style="font-family:monospace;">        &quot;whois\\.nic\\.cc&quot; {
                whois-redirect = &quot;.*Whois Server: \\(.*\\)&quot;;
        }</pre></div></div>

<p>其他域名也可以如法泡制</p>
<p>update:<br />
增加.vc域名支持的办法，同样是相同的文件，增加.vc的whois服务器就可以了</p>

<div class="wp_syntax"><div class="code"><pre class="conf" style="font-family:monospace;">        &quot;\\.va$&quot; = &quot;whois.ripe.net&quot;;
        &quot;\\.vc$&quot; = &quot;whois2.afilias-grs.net&quot;;
        &quot;\\.ve$&quot; = &quot;whois.nic.ve&quot;;</pre></div></div>



<p>Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/' rel='bookmark' title='Permanent Link: UUCall域名被clientHold'>UUCall域名被clientHold</a> <small>Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>平平安安</title>
		<link>http://wuhongsheng.com/life/2009/06/pingpinganan/</link>
		<comments>http://wuhongsheng.com/life/2009/06/pingpinganan/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 08:59:39 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[生活]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnspod]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/?p=301</guid>
		<description><![CDATA[下午新浪科技的记者让我去看新浪科技头条：警方侦破多省网络瘫痪攻击案 抓获4名犯罪嫌疑人。之后给常州市公安局打了电话咨询情况，确认了攻击DNSPod的疑犯已经被抓获。跨省追捕，警察叔叔3天只睡4个小时不到。太累，辛苦他们了。改天请他们喝酒去。 搞攻击的人该警惕了。没有抓不到的人，只有想不想抓。奥运前有一哥们攻击售票网站，用了7层跳板，最后还是被抓到了。 事情完结后，我会把这件事情的经过好好写写。 No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>下午新浪科技的记者让我去看新浪科技头条：<a href="http://tech.sina.com.cn/i/2009-06-02/15573142687.shtml">警方侦破多省网络瘫痪攻击案 抓获4名犯罪嫌疑人</a>。之后给常州市公安局打了电话咨询情况，确认了攻击DNSPod的疑犯已经被抓获。跨省追捕，警察叔叔3天只睡4个小时不到。太累，辛苦他们了。改天请他们喝酒去。</p>
<p>搞攻击的人该警惕了。没有抓不到的人，只有想不想抓。奥运前有一哥们攻击售票网站，用了7层跳板，最后还是被抓到了。</p>
<p>事情完结后，我会把这件事情的经过好好写写。</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/life/2009/06/pingpinganan/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>DNSPod被攻击的致歉信</title>
		<link>http://wuhongsheng.com/life/2009/05/apologize-from-dnspo/</link>
		<comments>http://wuhongsheng.com/life/2009/05/apologize-from-dnspo/#comments</comments>
		<pubDate>Wed, 20 May 2009 11:46:02 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnspod]]></category>
		<category><![CDATA[攻击]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/?p=299</guid>
		<description><![CDATA[尊敬的DNSPod会员，您好！ 感谢您一如既往的支持DNSPod。2009年5月18日晚上22点左右，DNSPod主站及多个DNS服务器遭受超过10G流量的恶意攻击，因为已经影响到机房其它客户，稍后便被省电信骨干网封掉了NS的IP，虽然我们及时的更换了IP，但是由于DNS协议限制，DNS更改IP需要最多72才能生效，造成很多用户的域名一直无法解析，记录一直停留在电信骨干封掉的老IP上。为此给各位新老用户造成了很大的损失，在此，我们团队向您表示我们深深的歉意！ 我们一直坚持免费，在智能DNS解析方面，我们一直是公平对待。我们绝不会使用一些卑鄙手段来增加VIP的销量。目前我们已经暂停VIP的销售，以示清白。（VIP目前是内测期，为了保证稳定性，有很高的准入和审核制度，不是花钱就能买） 从这次事件再次给我们敲响了警钟，这是DNSPod建站以来遭受的最大规模攻击，我们计划通过以下两点来提高免费用户的DNS的稳定性。 一，我们将重新部署多台DNS服务器做负载均衡。如NS6不再是一台服务器，而是多台服务器；尽量放在防火墙下。（虽然防火墙的效果微乎其微） 二，从现在开始，我们将大规模封杀包括私服发布站、私服等有争议，易引来攻击的域名。 如果您的网站非常重要，或者您对我们的以上改进还不放心的话。您除了尽量填写6个DNS服务器外，还能做以下操作来确保您解析的稳定。(如果您对我们很有信心，我们同样有信心不会让您失望。) 如：您的网站为：www.dnspod.com 您可以把这个域名的NS服务器放到您认为最稳定最快最好的域名服务商那里，然后把不重要的域名比如:www.mydnspod.com的NS服务器改为 DNSPod的NS服务器，然后把比如:bbs.dnspod.com CNAME到 bbs.mydnspod.com然后在DNSPod上的mydnspod.com这个域名上进行解析。 这样如果一旦DNSPod再次让您失望了。那么您还可以马上把您的主域名的CNAME删除，直接解析到您需要解析的IP，这样的生效时间是很快的。 这样的缺点是因为需要经过二轮解析，会降低DNS解析成功率。 在此，我们再次对本次因为遭受恶意攻击而给您带来的损失表示我们诚挚的歉意，希望您还能一如既往的支持DNSPod。 谢谢！ 奶罩 2009-05-19 晚 Related posts:UUCall域名被clientHold Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA... Related posts brought to you by Yet Another Related Posts Plugin.


Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/' rel='bookmark' title='Permanent Link: UUCall域名被clientHold'>UUCall域名被clientHold</a> <small>Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>尊敬的DNSPod会员，您好！</p>
<p>感谢您一如既往的支持DNSPod。2009年5月18日晚上22点左右，DNSPod主站及多个DNS服务器遭受超过10G流量的恶意攻击，因为已经影响到机房其它客户，稍后便被省电信骨干网封掉了NS的IP，虽然我们及时的更换了IP，但是由于DNS协议限制，DNS更改IP需要最多72才能生效，造成很多用户的域名一直无法解析，记录一直停留在电信骨干封掉的老IP上。为此给各位新老用户造成了很大的损失，在此，我们团队向您表示我们深深的歉意！</p>
<p>我们一直坚持免费，在智能DNS解析方面，我们一直是公平对待。我们绝不会使用一些卑鄙手段来增加VIP的销量。目前我们已经暂停VIP的销售，以示清白。（VIP目前是内测期，为了保证稳定性，有很高的准入和审核制度，不是花钱就能买）</p>
<p>从这次事件再次给我们敲响了警钟，这是DNSPod建站以来遭受的最大规模攻击，我们计划通过以下两点来提高免费用户的DNS的稳定性。<br />
一，我们将重新部署多台DNS服务器做负载均衡。如NS6不再是一台服务器，而是多台服务器；尽量放在防火墙下。（虽然防火墙的效果微乎其微）<br />
二，从现在开始，我们将大规模封杀包括私服发布站、私服等有争议，易引来攻击的域名。</p>
<p>如果您的网站非常重要，或者您对我们的以上改进还不放心的话。您除了尽量填写6个DNS服务器外，还能做以下操作来确保您解析的稳定。(如果您对我们很有信心，我们同样有信心不会让您失望。)</p>
<p>如：您的网站为：www.dnspod.com 您可以把这个域名的NS服务器放到您认为最稳定最快最好的域名服务商那里，然后把不重要的域名比如:www.mydnspod.com的NS服务器改为 DNSPod的NS服务器，然后把比如:bbs.dnspod.com CNAME到 bbs.mydnspod.com然后在DNSPod上的mydnspod.com这个域名上进行解析。</p>
<p>这样如果一旦DNSPod再次让您失望了。那么您还可以马上把您的主域名的CNAME删除，直接解析到您需要解析的IP，这样的生效时间是很快的。<br />
这样的缺点是因为需要经过二轮解析，会降低DNS解析成功率。</p>
<p>在此，我们再次对本次因为遭受恶意攻击而给您带来的损失表示我们诚挚的歉意，希望您还能一如既往的支持DNSPod。</p>
<p>谢谢！</p>
<p>奶罩<br />
2009-05-19 晚 </p>


<p>Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/' rel='bookmark' title='Permanent Link: UUCall域名被clientHold'>UUCall域名被clientHold</a> <small>Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/life/2009/05/apologize-from-dnspo/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>你还敢在国内注册域名吗？</title>
		<link>http://wuhongsheng.com/it/2009/02/do-you-still-trust-domestic-domain-registration-agency/</link>
		<comments>http://wuhongsheng.com/it/2009/02/do-you-still-trust-domestic-domain-registration-agency/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 04:44:52 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[clienthold]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[hichina]]></category>
		<category><![CDATA[namecheap]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[tgbus]]></category>
		<category><![CDATA[xinnet]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/?p=265</guid>
		<description><![CDATA[今天上午群里有人报告，tgbus.com打不开了。稍微查了一下，域名的状态是clientHold，又是一个被注册商锁定的域名。 &#160; Domain Name: TGBUS.COM Registrar: HICHINA ZHICHENG TECHNOLOGY LTD. Whois Server: grs.hichina.com Referral URL: http://www.net.cn Name Server: DNS7.HICHINA.COM Name Server: DNS8.HICHINA.COM Status: clientHold Updated Date: 22-feb-2009 Creation Date: 16-sep-2004 Expiration Date: 16-sep-2012 再看一下，域名的注册商是hichina，万网。这就不奇怪了。早在好多年前，伟大的小蛇同志的18mo.com就遭受此毒手 &#160; Domain Name: 18MO.COM Registrar: XIN NET TECHNOLOGY CORPORATION Whois Server: whois.paycenter.com.cn Referral URL: http://www.xinnet.com Name Server: NS1.DNSPOD.NET Name Server: NS2.DNSPOD.NET [...]


Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/' rel='bookmark' title='Permanent Link: UUCall域名被clientHold'>UUCall域名被clientHold</a> <small>Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA...</small></li>
<li><a href='http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/' rel='bookmark' title='Permanent Link: jwhois无法查询dot cc域名whois信息的解决办法'>jwhois无法查询dot cc域名whois信息的解决办法</a> <small>jwhois是linux下面内置的一个whois客户端。 jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。 解决的办法： 编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容 &quot;whois\\.nic\\.cc&quot; { whois-redirect...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>今天上午群里有人报告，tgbus.com打不开了。稍微查了一下，域名的状态是clientHold，又是一个被注册商锁定的域名。</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">&nbsp;
   Domain Name: TGBUS.COM
   Registrar: HICHINA ZHICHENG TECHNOLOGY LTD.
   Whois Server: grs.hichina.com
   Referral URL: http://www.net.cn
   Name Server: DNS7.HICHINA.COM
   Name Server: DNS8.HICHINA.COM
   Status: clientHold
   Updated Date: 22-feb-2009
   Creation Date: 16-sep-2004
   Expiration Date: 16-sep-2012</pre></div></div>

<p>再看一下，域名的注册商是hichina，万网。这就不奇怪了。早在好多年前，伟大的<a href="http://www.xiaoshe.com/">小蛇</a>同志的18mo.com就遭受此毒手</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">&nbsp;
   Domain Name: 18MO.COM
   Registrar: XIN NET TECHNOLOGY CORPORATION
   Whois Server: whois.paycenter.com.cn
   Referral URL: http://www.xinnet.com
   Name Server: NS1.DNSPOD.NET
   Name Server: NS2.DNSPOD.NET
   Name Server: NS3.DNSPOD.NET
   Name Server: NS4.DNSPOD.NET
   Name Server: NS5.DNSPOD.NET
   Name Server: NS6.DNSPOD.NET
   Status: clientHold
   Updated Date: 13-nov-2008
   Creation Date: 26-jan-2000
   Expiration Date: 26-jan-2011</pre></div></div>

<p>国内的注册商，大如新网、万网，都喜欢封别人的域名玩，没事就给你设个clientHold。轻点的，写个保证书了事，再犯域名归他们所有。严重点的，或者域名被盯上的，写保证书也没用，直接就装不知道，不鸟你，域名直接归他们。</p>
<p>域名在clientHold的状态下，除了续费外，是不能做任何其他事情的。比如要申请转出或者更改联系人都不可以。这种情况下，你只能求爷爷求奶奶，托人找关系重设域名状态。</p>
<p>在网上搜索clientHold，可以发现所有出问题的都是在国内注册商注册的域名。有违规被封的，也有莫名其妙被封的。在利益和政策下，国内的注册商已经变得没有任何操守。</p>
<p>很幸运，我前几年在国内注册的域名都成功转移到国外去了，连在新网xinnet因为注册人信息不正确而死掉的几个域名也都找人托关系转了出来。剩下在国内的都是cn域名，也就无所谓了。cn域名是跑哪里去都逃不出五指山。</p>
<p>在此奉劝各位，为了你的网站顺利发展，为了让你的身体健康吃嘛嘛香，及早把域名转国外去。</p>
<p>目前国外比较大的注册商，并且我正在有域名在里面的：<br />
<a href="http://www.namecheap.com">namecheap</a><br />
<a href="http://www.godaddy.com">godaddy</a></p>
<p>善哉</p>


<p>Related posts:<ol><li><a href='http://wuhongsheng.com/it/2009/10/uucall-com-clienthold/' rel='bookmark' title='Permanent Link: UUCall域名被clientHold'>UUCall域名被clientHold</a> <small>Domain Name: UUCALL.COM Registrar: BEIJING INNOVATIVE LINKAGE TECHNOLOGY LTD. DBA...</small></li>
<li><a href='http://wuhongsheng.com/it/2009/08/resolve-issues-which-jwhois-can-not-obtain-whois-info-with-dot-cc/' rel='bookmark' title='Permanent Link: jwhois无法查询dot cc域名whois信息的解决办法'>jwhois无法查询dot cc域名whois信息的解决办法</a> <small>jwhois是linux下面内置的一个whois客户端。 jwhois在查询dot cc（.cc）域名的时候，如果dot cc域名是二级注册商，那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。 解决的办法： 编辑jwhois.conf（自己编译的在/usr/local/etc/jwhois.conf，系统自带的在/etc/jwhois.cc），找到server-options段，在末尾加上以下内容 &quot;whois\\.nic\\.cc&quot; { whois-redirect...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/it/2009/02/do-you-still-trust-domestic-domain-registration-agency/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>DNSPod再次被大流量攻击</title>
		<link>http://wuhongsheng.com/life/2008/12/dnspod-attacked-again/</link>
		<comments>http://wuhongsheng.com/life/2008/12/dnspod-attacked-again/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 10:51:34 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnspod]]></category>
		<category><![CDATA[hacker]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/life/2008/12/dnspod-attacked-again/</guid>
		<description><![CDATA[今天（2008-12-10）下午2点左右，DNSPod遭受来路不明的流量攻击，初步统计分布在6个机房的6台服务器一共遭受了将近24G流量的攻击。 上一次DNSPod被如此大的流量攻击已经是06年的时候了。当时攻击的流量是20G，把整个浙江网通和北京网通、电信通都干掉了。网通的总工还特地给我电话找我了解情况。 这次攻击的流量同样打垮了4个机房。 真不明白，什么人能这么看得起我，花这么大的流量攻击一个小小的网站（国内能被10个G以上流量攻击的网站屈指可数）。 做网站能做到我这样，算是圆满了。 （此文为补发） No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>今天（2008-12-10）下午2点左右，DNSPod遭受来路不明的流量攻击，初步统计分布在6个机房的6台服务器一共遭受了将近24G流量的攻击。</p>
<p>上一次DNSPod被如此大的流量攻击已经是06年的时候了。当时攻击的流量是20G，把整个浙江网通和北京网通、电信通都干掉了。网通的总工还特地给我电话找我了解情况。</p>
<p>这次攻击的流量同样打垮了4个机房。</p>
<p>真不明白，什么人能这么看得起我，花这么大的流量攻击一个小小的网站（国内能被10个G以上流量攻击的网站屈指可数）。</p>
<p>做网站能做到我这样，算是圆满了。</p>
<p>（此文为补发）</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/life/2008/12/dnspod-attacked-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DNSPod API 调用实例</title>
		<link>http://wuhongsheng.com/life/2008/12/dnspod-api-examples/</link>
		<comments>http://wuhongsheng.com/life/2008/12/dnspod-api-examples/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 03:06:25 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnspod]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/life/2008/12/dnspod-api-examples/</guid>
		<description><![CDATA[例子代码PHP+CURL 提交请求的函数 function postData&#40;$url, $data&#41; &#123; $data = http_build_query&#40;$data&#41;; &#160; $ch = curl_init&#40;&#41;; curl_setopt&#40;$ch, CURLOPT_URL, $url&#41;; // curl_setopt($ch, CURLOPT_HEADER, 1); // curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt&#40;$ch, CURLOPT_POST, 1&#41;; curl_setopt&#40;$ch, CURLOPT_RETURNTRANSFER, 1&#41;; curl_setopt&#40;$ch, CURLOPT_POSTFIELDS, $data&#41;; &#160; $response = curl_exec&#40;$ch&#41;; curl_close&#40;$ch&#41;; &#160; return $response; &#125; 添加一个新域名 $data = array&#40;'login_email' =&#62; 'foo@bar.com', 'login_password' =&#62; 'password', 'format' =&#62; 'xml', 'domain' [...]


Related posts:<ol><li><a href='http://wuhongsheng.com/it/2010/03/mac-vpn-split-route/' rel='bookmark' title='Permanent Link: Mac下VPN设置多网关，让国内流量不走国外'>Mac下VPN设置多网关，让国内流量不走国外</a> <small>经常要翻墙，但又不想访问国内网站的时候也走国外的VPN。简单写了个脚本，让国内的流量直接走国内的网关，国外网站则走VPN。这样每次上网都可以直接拨上VPN，又不影响网站的访问。 使用方法：Mac下先设置所有流量走VPN，拨上VPN后，用root权限（sudo）执行下面的脚本。 Mac OS X 10.6.2测试通过 #!/bin/sh # SCRIPT WRITTEN...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>例子代码PHP+CURL</p>
<p>提交请求的函数</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> postData<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$data</span>	<span style="color: #339933;">=</span> <span style="color: #990000;">http_build_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$ch</span>	<span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// curl_setopt($ch, CURLOPT_HEADER, 1);</span>
	<span style="color: #666666; font-style: italic;">// curl_setopt($ch, CURLOPT_VERBOSE, 1);</span>
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_POST<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_POSTFIELDS<span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$response</span>	<span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$response</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>添加一个新域名</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'login_email'</span>		<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'foo@bar.com'</span><span style="color: #339933;">,</span>
			<span style="color: #0000ff;">'login_password'</span>	<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'password'</span><span style="color: #339933;">,</span>
			<span style="color: #0000ff;">'format'</span>			<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'xml'</span><span style="color: #339933;">,</span>
			<span style="color: #0000ff;">'domain'</span>			<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'test.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> postData<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://www.dnspod.com/API/Domain.Create&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>获取单个域名的记录列表</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'login_email'</span>		<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'foo@bar.com, 
			'</span>login_password<span style="color: #0000ff;">'	=&gt; '</span>password<span style="color: #0000ff;">', 
			'</span>format<span style="color: #0000ff;">'			=&gt; '</span>xml<span style="color: #0000ff;">', 
			'</span>domain_id<span style="color: #0000ff;">'			=&gt; '</span><span style="color: #cc66cc;">123456</span><span style="color: #0000ff;">');
echo postData(&quot;http://www.dnspod.com/API/Record.List&quot;, $data);</span></pre></div></div>

<p>修改一条记录</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'login_email'</span>		<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'foo@bar.com'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'login_password'</span>	<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'password'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'format'</span>			<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'xml'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'domain_id'</span>			<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'123456'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'record_id'</span>			<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'7654321'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'sub_domain'</span>		<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'test1234'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'record_type'</span>		<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'1'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'record_line'</span>		<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'1'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'value'</span>				<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'127.0.0.1'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'mx'</span>				<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'10'</span><span style="color: #339933;">,</span> 
			<span style="color: #0000ff;">'ttl'</span>				<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'3600'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> postData<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://www.dnspod.com/API/Record.Modify&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>



<p>Related posts:<ol><li><a href='http://wuhongsheng.com/it/2010/03/mac-vpn-split-route/' rel='bookmark' title='Permanent Link: Mac下VPN设置多网关，让国内流量不走国外'>Mac下VPN设置多网关，让国内流量不走国外</a> <small>经常要翻墙，但又不想访问国内网站的时候也走国外的VPN。简单写了个脚本，让国内的流量直接走国内的网关，国外网站则走VPN。这样每次上网都可以直接拨上VPN，又不影响网站的访问。 使用方法：Mac下先设置所有流量走VPN，拨上VPN后，用root权限（sudo）执行下面的脚本。 Mac OS X 10.6.2测试通过 #!/bin/sh # SCRIPT WRITTEN...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/life/2008/12/dnspod-api-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNSPod新版本上线啦</title>
		<link>http://wuhongsheng.com/it/2008/05/dnspod-v3-is-now-shipping/</link>
		<comments>http://wuhongsheng.com/it/2008/05/dnspod-v3-is-now-shipping/#comments</comments>
		<pubDate>Sun, 04 May 2008 08:01:59 +0000</pubDate>
		<dc:creator>吴洪声</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnspod]]></category>

		<guid isPermaLink="false">http://wuhongsheng.com/?p=180</guid>
		<description><![CDATA[新版本从底层到界面完全重写，优化了用户体验，颠覆了传统的dns管理平台，很多功能还在开发中，欢迎大家测试 目前新增加的功能有 1.大量采用了ajax，大量减少用户提交数据时刷新页面的等待时间 2.采用tag方式来展示用户的域名，根据域名的记录条数对域名进行加粗、改变颜色等醒目标记 3.输入一个域名自动判断是新域名需要添加还是旧域名直接进入管理 4.域名输入框采用ajax下拉菜单，用户只需要输入域名某几个字母即可自动填充整个域名。如输入pod自动显示dnspod.com/dnspod.net等带有pod的域名让用户选择 5.支持中文域名 6.支持NS记录 7.支持TXT记录 8.支持域名转出到别的帐号 9.支持域名记录的导出导入，方便批量添加和备份记录（开发中） 10.支持批量修改。如1.1.1.1这台服务器挂了，通过批量修改可以把域名下所有1.1.1.1的记录修改为2.2.2.2 11.支持单条记录的禁用 12.支持域名的自诊断（开发中） 13.还有很多很多新功能等你去发现 Related posts:Mac下VPN设置多网关，让国内流量不走国外 经常要翻墙，但又不想访问国内网站的时候也走国外的VPN。简单写了个脚本，让国内的流量直接走国内的网关，国外网站则走VPN。这样每次上网都可以直接拨上VPN，又不影响网站的访问。 使用方法：Mac下先设置所有流量走VPN，拨上VPN后，用root权限（sudo）执行下面的脚本。 Mac OS X 10.6.2测试通过 #!/bin/sh # SCRIPT WRITTEN... Related posts brought to you by Yet Another Related Posts Plugin.


Related posts:<ol><li><a href='http://wuhongsheng.com/it/2010/03/mac-vpn-split-route/' rel='bookmark' title='Permanent Link: Mac下VPN设置多网关，让国内流量不走国外'>Mac下VPN设置多网关，让国内流量不走国外</a> <small>经常要翻墙，但又不想访问国内网站的时候也走国外的VPN。简单写了个脚本，让国内的流量直接走国内的网关，国外网站则走VPN。这样每次上网都可以直接拨上VPN，又不影响网站的访问。 使用方法：Mac下先设置所有流量走VPN，拨上VPN后，用root权限（sudo）执行下面的脚本。 Mac OS X 10.6.2测试通过 #!/bin/sh # SCRIPT WRITTEN...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>新版本从底层到界面完全重写，优化了用户体验，颠覆了传统的dns管理平台，很多功能还在开发中，欢迎大家测试<br />
目前新增加的功能有<br />
1.大量采用了ajax，大量减少用户提交数据时刷新页面的等待时间<br />
2.采用tag方式来展示用户的域名，根据域名的记录条数对域名进行加粗、改变颜色等醒目标记<br />
3.输入一个域名自动判断是新域名需要添加还是旧域名直接进入管理<br />
4.域名输入框采用ajax下拉菜单，用户只需要输入域名某几个字母即可自动填充整个域名。如输入pod自动显示dnspod.com/dnspod.net等带有pod的域名让用户选择<br />
5.支持中文域名<br />
6.支持NS记录<br />
7.支持TXT记录<br />
8.支持域名转出到别的帐号<br />
9.支持域名记录的导出导入，方便批量添加和备份记录（开发中）<br />
10.支持批量修改。如1.1.1.1这台服务器挂了，通过批量修改可以把域名下所有1.1.1.1的记录修改为2.2.2.2<br />
11.支持单条记录的禁用<br />
12.支持域名的自诊断（开发中）<br />
13.还有很多很多新功能等你去发现</p>


<p>Related posts:<ol><li><a href='http://wuhongsheng.com/it/2010/03/mac-vpn-split-route/' rel='bookmark' title='Permanent Link: Mac下VPN设置多网关，让国内流量不走国外'>Mac下VPN设置多网关，让国内流量不走国外</a> <small>经常要翻墙，但又不想访问国内网站的时候也走国外的VPN。简单写了个脚本，让国内的流量直接走国内的网关，国外网站则走VPN。这样每次上网都可以直接拨上VPN，又不影响网站的访问。 使用方法：Mac下先设置所有流量走VPN，拨上VPN后，用root权限（sudo）执行下面的脚本。 Mac OS X 10.6.2测试通过 #!/bin/sh # SCRIPT WRITTEN...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wuhongsheng.com/it/2008/05/dnspod-v3-is-now-shipping/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.959 seconds -->
