> Mvps Hosts
> MVPS HOSTS Update [15.10.06]
MVPS HOSTS Update [15.10.06]
I'll add to my existing /etc/hosts file the line: Code: 127.0.0.1 ubuntuforums.org 2. Code: $ ping ubuntuforums.org $ telnet ubuntuforums.org 80 3. 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.9/ Connection Having any other setting except localhost associated with 127.0.0.1 is tricky business. find this
Imagination circles the world." Albert Einstein (1879-1955) Follow BleepingComputer on: Facebook | Twitter | Google+ Back to top #4 Union_Thug Union_Thug Bleeps with the fishes... 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 Adv Reply February 28th, 2011 #2 rocksockdoc View Profile View Forum Posts Private Message Cookies and cream Join Date Aug 2010 Beans 407 DistroUbuntu 10.04 Lucid Lynx Re: How does Using the site is easy and fun. https://www.bleepingcomputer.com/forums/t/123980/mvps-hosts-file-update/
Proof is on the net where you can download complete hosts text files containing tens of thousands of entries, e.g., see: Blocking Unwanted Parasites with a Hosts File. 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 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! Several functions may not work.
Your cache administrator is webmaster. The system returned: (22) Invalid argument The remote host or network may be down. Modifying the /etc/hosts file is a time-honored way to eliminate noxious websites and advertisements. https://www.kubuntuforums.net/showthread.php?56419-Script-to-automate-building-an-adblocking-hosts-file Originally Posted by inkrypted Try "sudo killall -hup inetd" OK.
Last edited by chili555; March 1st, 2011 at 06:17 PM. "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. the question for all is: Q: When is the /etc/hosts file read (and how can one force a re-read)? And, I left alone the default IPv6 lines (even though I don't understand them ... 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!
Sorry. If the ping works and the browser comes up with a 404-not found, then the loading of the updated hosts file will be confirmed. Last edited by rocksockdoc; March 3rd, 2011 at 05:07 AM. Please try the request again.
blah blah blah ... 127.0.0.1 doubleclick.net #[McAfee.Cookie-Doubleclick] 127.0.0.1 www.visit-tracker.com 127.0.0.1 anti-virus-2009.com ... click here now I need to bone up on the "ps" command as I'm relatively new to Ubuntu (having come over from Windows). For those networking gurus out there ... Your cache administrator is webmaster.
Originally Posted by chili555 Having any other setting except localhost associated with 127.0.0.1 is tricky business. blah blah blah ... These Aren't Roasted!
Originally Posted by chili555 Do you think modifying the 127.0.0.1 localhost line works exactly the same way in Linux?
- The only gotcha is that I don't understand when/how the Ubuntu /etc/hosts file changes take place.
- Nobody ever said they were modifying the localhost line.
- I'll then run your kind suggestion in a terminal window: Code: $ sudo killall -hup inetd 4.
- Last edited by rocksockdoc; March 3rd, 2011 at 06:41 AM.
- Please try the request again.
- The code snippet was promising: Code: $ sudo killall -hup inetd But something was wrong with the syntax: Code: $ sudo killall -hup inetd Usage: killall [OPTION]... [--] NAME...
- Register now!
- Adv Reply March 1st, 2011 #4 chili555 View Profile View Forum Posts Private Message Ubuntu Member Join Date Aug 2005 Location South Carolina, USA Beans 22,864 DistroUbuntu 16.10 Yakkety Yak
- Knowledge is limited.
Adv Reply March 2nd, 2011 #7 inkrypted View Profile View Forum Posts Private Message Gee! 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 Edit: I can only get it to re-read after a reboot. My question: - WHEN is the /etc/hosts file reconsidered in Ubuntu? - Is there a way to have the /etc/hosts file re-read sooner?
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. vBulletin ©2000 - 2017, Jelsoft Enterprises Ltd. I'd switch back at once, if I were you. read this article My only questions are: Q: What actually causes the hosts file to be read in Ubuntu?
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.8/ Connection Interestingly my Ubuntu 10.04 (Lucid) hosts file seems to have an additional line for the hostname, which I find confusing since the hostname is already in the /etc/hostname file (so why Site Changelog Community Forum Software by IP.Board Sign In Use Facebook Use Twitter Need an account? blah blah blah ... 127.0.0.1 doubleclick.net #[McAfee.Cookie-Doubleclick] 127.0.0.1 www.visit-tracker.com 127.0.0.1 anti-virus-2009.com ...
blah blah blah ... We will leave the last six months or so of updates and comments. I believe this entry in /etc/hosts means that when someone requests connection to www.ubuntuforums.org, send them to 127.0.0.1. Please visit often to find the links to update your hosts file.
Sorry. 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 I've been using this method for more than a decade on a variety of platforms; and it works just fine. Try "sudo killall -hup inetd" without the quotes which will restart the inetd process without requiring a reboot.
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.
© Copyright 2017 newsmdcommunications.com. All rights reserved.