Sheldon Cooper, Ph.D. As a test, I put the following in the /etc/hosts: 127.0.0.1 www.ubuntuforums.org And, then ran: Code: sudo /etc/init.d/networking restart And, I'm still posting here! Members 2,354 posts OFFLINE Gender:Male Location:is everything Local time:09:41 PM Posted 12 February 2014 - 01:43 PM The MVPS HOSTS file was recently updated [February-09-2014]http://winhelp2002.mvps.org/hosts.htm Download: hosts.zip (133 kb)http://winhelp2002.mvps.org/hosts.zip How My only questions are: Q: What actually causes the hosts file to be read in Ubuntu? this contact form
Sheldon Cooper, Ph.D. Edit: I can only get it to re-read after a reboot. Your cache administrator is webmaster. Knowledge is limited.
Sorry. I am pretty sure changes to /etc/hosts are immediate. Don't do that." Douglas Adams (1952-2001)"Imagination is more important than knowledge. I think there is a strong possibility that it's a different IP address than, say http://www.ubuntuforums.org/forumdisplay.php?f=336, what I have bookmarked for Networking and Wireless.
Generated Mon, 13 Feb 2017 18:30:16 GMT by s_wx1221 (squid/3.5.23) My problem is I do not understand WHEN the /etc/hosts file is next read after a change. Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] How does one reload get redirected here Last edited by rocksockdoc; March 3rd, 2011 at 05:07 AM.
I've been using this method for more than a decade on a variety of platforms; and it works just fine. or read our Welcome Guide to learn how to use this site. The question is "what" triggers the /etc/hosts file to be re-read? Jump to content Sign In Create Account Search Advanced Search section: This topic Forums Members Help Files Calendar View New Content Forum Rules BleepingComputer.com Forums Members Tutorials Startup List
Please try the request again. Do you think modifying the 127.0.0.1 localhost line works exactly the same way in Linux? "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. The time now is 03:41 AM. I believe this entry in /etc/hosts means that when someone requests connection to www.ubuntuforums.org, send them to 127.0.0.1.
the question for all is: Q: When is the /etc/hosts file read (and how can one force a re-read)? http://phpzipcodelocator.com/mvps-hosts/mvps-hosts-update-06-14-06.html I should note that I searched and had found this: - How to refresh hosts file without rebooting Which suggested: sudo /etc/init.d/networking restart But, that did not work. Members 2,354 posts OFFLINE Gender:Male Location:is everything Local time:09:41 PM Posted 21 January 2013 - 07:49 AM The MVPS HOSTS file was recently updated [January-18-2013]http://winhelp2002.mvps.org/hosts.htm Download: hosts.zip (141 kb)http://winhelp2002.mvps.org/hosts.zip How As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged
actually, 'because' I don't understand them). the below is only an example of what the page looks like] Note: I do not have access to your email address ... This work is licensed under a Creative Commons License. navigate here Using the site is easy and fun.
You can now get notified by Email when the MVPS HOSTS file is updated via my blog page .... I'll add to my existing /etc/hosts file the line: Code: 127.0.0.1 ubuntuforums.org 2. The only lines being added are those of the unwanted parasitic hosts, known virus scams, all unwanted advertisements, all unwanted trackers, etc.
Originally Posted by chili555 I can only get it to re-read after a reboot. The system returned: (22) Invalid argument The remote host or network may be down. siljaline Back to top BC AdBot (Login to Remove) BleepingComputer.com Register to remove ads #2 Union_Thug Union_Thug Bleeps with the fishes... Mvps Hosts File Update Started by siljaline , Jan 03 2008 12:34 PM Please log in to reply 4 replies to this topic #1 siljaline siljaline Security Expert Members 141 posts
And, I'll ping the same domain. As a test, I put the following in the /etc/hosts: 127.0.0.1 www.ubuntuforums.org And, then ran: Code: sudo /etc/init.d/networking restart And, I'm still posting here! Adv Reply Page 1 of 2 12 Last Jump to page: Quick Navigation Networking & Wireless Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums his comment is here I'll bring up firefox and attempt to load a new web page in the ubuntuforums domain.
Code: 127.0.0.1 localhost.localdomain localhost 127.0.1.1 ubuntu ubuntu # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts Gimme a few minutes ... please consider a donation Reproduction of information on this site, in any form, is prohibited without express written permission. The system returned: (22) Invalid argument The remote host or network may be down.
Register now! Your cache administrator is webmaster. I've been rebooting to make sure the hosts is re-read; but there must be a simpler way. My question: - WHEN is the /etc/hosts file reconsidered in Ubuntu? - Is there a way to have the /etc/hosts file re-read sooner?
So I hope this answers your question. Modifying the /etc/hosts file is a time-honored way to eliminate noxious websites and advertisements. blah blah blah ... Likewise, nobody is touching the cryptic 2nd line with the hostname repeated twice (for what reason this second line is required I don't know because it's simply a repeat of the
Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site. Generated Mon, 13 Feb 2017 18:30:16 GMT by s_wx1221 (squid/3.5.23) ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: http://0.0.0.10/ Connection