<?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>iPhone SDK develop &#38; programming tips &#187; dns</title>
	<atom:link href="http://www.flyblog.info/tag/dns/feed" rel="self" type="application/rss+xml" />
	<link>http://www.flyblog.info</link>
	<description>ideas for programming</description>
	<lastBuildDate>Fri, 20 May 2011 09:49:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>hosts文件修改无效的解决办法</title>
		<link>http://www.flyblog.info/catinternet/351.html</link>
		<comments>http://www.flyblog.info/catinternet/351.html#comments</comments>
		<pubDate>Mon, 11 May 2009 02:32:36 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[互联网络]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[hosts]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=351</guid>
		<description><![CDATA[hosts 文件是用于本地dns服务的， 采用ip 域名 的格式写在一个文本文件当中， windows系统上一般存放在系统盘的system32目录下， 比如 C:\windows\system32\drivers\etc\， 本地主机一般都被定义为
127.0.0.1  locahost
根据微软的相关文档， hosts文件必须是ascii编码方式， 如果你存为unicode格式将不会被正确读取
最近总发现修改hosts将域名指向新的ip是总是无法生效， 试过很多办法，问题却依然存在， 于是上微软的网站寻找答案， 最终发现时一个“DNS Client” 服务的问题， “DNS CLient”服务是缓存dns用的， 所以说修改了hosts的文件是不能马上生效的， 需要一段时间的延时， 通常可以用ipconfig /flushdns来刷新dns缓存， 但这个方法对于我的问题似乎没有什么效果， 于是干脆打开控制面板- 管理工具 &#8211; 服务， 在其中找到“DNS　Client”　将其停用并改为手动模式。
至此，　问题解决，ｈｏｓｔｓ文件随时修改随时生效


No related posts.]]></description>
		<wfw:commentRss>http://www.flyblog.info/catinternet/351.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

