<?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 cheat</title>
	<atom:link href="http://wuhongsheng.com/tag/dns-cheat/feed/" rel="self" type="application/rss+xml" />
	<link>http://wuhongsheng.com</link>
	<description>响应我党号召,全面建设和谐博客,坚持和谐写博的路线不动摇</description>
	<lastBuildDate>Wed, 04 May 2011 15:13:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<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 No related posts. Related posts [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>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>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>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>
	</channel>
</rss>

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

