<?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>Xqlab's Blog &#187; DNS</title>
	<atom:link href="http://www.xqlab.com/html/ytag/dns/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xqlab.com</link>
	<description>一个研究电脑和网络等IT技术的实验室</description>
	<lastBuildDate>Sat, 17 Dec 2011 23:26:35 +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>抵制电信网通，防止DNS劫持！</title>
		<link>http://www.xqlab.com/html/y2010/425.html</link>
		<comments>http://www.xqlab.com/html/y2010/425.html#comments</comments>
		<pubDate>Sun, 04 Jul 2010 04:09:33 +0000</pubDate>
		<dc:creator>xqlab</dc:creator>
				<category><![CDATA[互联网络]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[网络]]></category>

		<guid isPermaLink="false">http://www.xqlab.com/?p=425</guid>
		<description><![CDATA[       最近突然发现弹出广告变多了，尤其是我自己的网站也会有广告弹出，谷歌一下，发现最近各地电信网通都在做各种推送广告以及屏蔽网站等之类的DNS劫持，唉，中国的这些运营商，... ]]></description>
			<content:encoded><![CDATA[<p>       最近突然发现弹出广告变多了，尤其是我自己的网站也会有广告弹出，谷歌一下，发现最近各地电信网通都在做各种推送广告以及屏蔽网站等之类的DNS劫持，唉，中国的这些运营商，实在不想说它什么了。</p>
<p>       像这样的广告是随机出现的，平均打开3~6个页面的时候会出现一个，因此很多人认为是我们电脑和软件的问题，杀毒装系统是解决不了的，其实这都是电信和网通利用DNS和客户端实现的。</p>
<p>       事实上我们是可以解决由DNS服务器引起的各种劫持的：<strong><span style="color: #ff0000;">更换DNS服务器</span></strong></p>
<p>       国内的DNS服务器不是电信都是网通的，因此我们要换国外的，而且要速度稳定的， 这里给大家推荐两个，一个是Google的免费DNS，一个美国的openDNS。</p>
<p>       操作方法：网络属性(TCP/IP协议)主要DNS 和次要DNS改为“8.8.8.8”和“8.8.4.4”（谷歌）或“208.67.222.222”和 “208.67.220.220”（openDNS）即可。</p>
<p><span id="more-425"></span>       对于openDNS的设置可以打开验证地址<a href="http://www.opendns.com/welcome/"><span style="color: #0090da;">http://www.opendns.com/welcome/</span></a> 进行验证。</p>
<p>       具体设置方法可以参看月光大哥的博文：<a href="http://www.williamlong.info/archives/2009.html">http://www.williamlong.info/archives/2009.html</a></p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://www.xqlab.com/html/y2011/459.html" title="扔掉U盘，请试用网络云存储">扔掉U盘，请试用网络云存储</a></li><li><a href="http://www.xqlab.com/html/y2009/402.html" title="网站打不开？">网站打不开？</a></li><li><a href="http://www.xqlab.com/html/y2009/343.html" title="Hosts文件详解">Hosts文件详解</a></li><li><a href="http://www.xqlab.com/html/y2009/288.html" title="飞信各种情况费用一览表">飞信各种情况费用一览表</a></li><li><a href="http://www.xqlab.com/html/y2009/287.html" title="IE8 RC1版遭泄露 提前释出">IE8 RC1版遭泄露 提前释出</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.xqlab.com/html/y2010/425.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>内网系统用域名代替数字网址的方法研究</title>
		<link>http://www.xqlab.com/html/y2008/111.html</link>
		<comments>http://www.xqlab.com/html/y2008/111.html#comments</comments>
		<pubDate>Wed, 29 Oct 2008 13:55:49 +0000</pubDate>
		<dc:creator>xqlab</dc:creator>
				<category><![CDATA[互联网络]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://www.xqlab.com/?p=111</guid>
		<description><![CDATA[公司的有一套OA系统,由于是内网打开时的地址时的地址通常是http://192.168.0.1，或者http://192.168.0.1:8080之类的，很不方便记忆，想想如果能改成域名的方式就好记多... ]]></description>
			<content:encoded><![CDATA[<p>      公司的有一套OA系统,由于是内网，打开时的地址时通常是http://192.168.0.1，或者http://192.168.0.1:8080之类的，这种IP地址的形式通常很很不方便记忆，想想如果能改成域名的方式就好记多了，比如：<a href="http://www.xqlab.com">http://www.xqlab.com</a></p>
<p>      由于是内部的局域网，本身不连接因特网，不用考虑域名冲突的问题，应该可以有3种方法：</p>
<p>      法一：hosts法，修改每台pc的hosts文件,添加一行 192.168.0.1 www.XXX.com，这种方法简单，但是需要每台电脑都要添加。</p>
<p>      法二：把192.168.0.1的计算机名改成www.XXX.com，这样输入www.XXX.com就能访问，但是这种方法不能在域名前加“http://”,因为www.XXX.com在本质上只是计算机名而已。</p>
<p>      法三：被访问的那台OA配置个DNS服务，这种方法相对比较复杂，但从长远来看还是不错的。</p>
<p>      总的来说，我感觉，如果内网机器不多，而且不方便操作OA系统所在的服务器的情况下我还是推荐第一种方法的，他即简单实用，而且方便维护更改。对于重做系统的问题可以用WinRAR做一个自解压的脚本程序，这样一劳永逸，更可以添加多个域名，随心所欲。还可以满足那种有多套OA系统分布在不同服务器甚至不同地理环境下的公司的需求。</p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://www.xqlab.com/html/y2011/454.html" title="Godaddy最新域名优惠码$1.67">Godaddy最新域名优惠码$1.67</a></li><li><a href="http://www.xqlab.com/html/y2010/425.html" title="抵制电信网通，防止DNS劫持！">抵制电信网通，防止DNS劫持！</a></li><li><a href="http://www.xqlab.com/html/y2010/417.html" title="xqlab.com转入godaddy">xqlab.com转入godaddy</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.xqlab.com/html/y2008/111.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

