{"id":111,"date":"2010-10-11T13:01:41","date_gmt":"2010-10-11T17:01:41","guid":{"rendered":"http:\/\/wukenny.host-ed.net\/?p=111"},"modified":"2010-10-11T13:01:41","modified_gmt":"2010-10-11T17:01:41","slug":"add-a-lookup-entry-in-local-dns","status":"publish","type":"post","link":"http:\/\/kennywu.info\/?p=111","title":{"rendered":"Add a lookup entry in local DNS"},"content":{"rendered":"<p>After you enter a web address, Windows OS will search a local DNS to find out corresponding IP address. If it could not find it there, it will go to DNS server to search for it. Old days people used to add those often visited addresses to a local DNS file to seep up the Internet surfing experience. Currently with hi peed Internet connection, the practice will not yield any noticeable difference. However, if you have a intranet and you want to go to internal address by calling its external address, that is the way to go.<br \/>\nTo edit your local DNS lookup file, go to<br \/>\n<code>C:WindowsSystem32Driversetc<\/code><br \/>\nUsing a text editor like notepad to open the file <code>hosts<\/code><br \/>\nAdd an entry at the bottom with two information: the IP address and the customized domain name, separated by a single space.<br \/>\n192.168.1.5 wukenny.homeserver.com<br \/>\n192.168.1.5 www.wukenny.homeserver.com<\/p>\n<p>This works in both windows xp and windows 7. In Win7 you might need to copy the file to another location get it edited and then pasted it back due to the stringent user control.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After you enter a web address, Windows OS will search a local DNS to find out corresponding IP address. If it could not find it there, it will go to DNS server to search for it. Old days people used &hellip; <a href=\"http:\/\/kennywu.info\/?p=111\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[24],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-internet","tag-dns"],"_links":{"self":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111"}],"version-history":[{"count":0,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"wp:attachment":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}