Author Topic: Chrome Browser not respecting Hosts File?  (Read 132 times)

I D Shukhov

  • CCF Winner's Circle - Supporter
  • Wise Sage
  • *
  • Posts: 6289
    • View Profile
Chrome Browser not respecting Hosts File?
« on: March 27, 2018, 09:45:28 am »

(Browsers: So figure out where Chrome or whatever obtains extra DNS information from, if it's not the hosts file. That's a surprise to me because the internet and routing stuff is the layer beneath the app layer, which would be Chrome or other browser.)
https://stackoverflow.com/questions/42636711/google-chrome-ignoring-hosts-file

Also, notice:

Quote
Try clearing the DNS Cache:

1) run cmd.exe as administrator

2) type: ipconfig /flushdns

jfatal
.....
Sorry, missed that one. I had already tried that too. I just tried again though, but no luck. I'll add that to my original post. – Nick Petrie Mar 7 '1

The Gorn

  • I absolutely DESPISE improvised sulfur-charcoal-salt peter cannons made out of hollow tree branches filled with diamonds as projectiles.
  • Trusted Member
  • Wise Sage
  • ******
  • Posts: 22106
  • Gorn Classic, user of Gornix
    • View Profile
Re: Chrome Browser not respecting Hosts File?
« Reply #1 on: March 27, 2018, 09:59:27 am »
I put this in its own thread "because".

About the hosts file:

ChromIUM on Linux Mint does respect the Hosts file. (I had to restart the networking. But a redirect of Facebook to 127.0.0.1 does cause FB to fail with server not found in ChromIUM.

I don't feel like messing with Chrome on Windows again so I'll take your word for it.

Chrome seems to do its own thing networking wise. This MAY be the reason why a couple of years ago when I was setting up motherinlaw's Chrome box, I couldn't get direct IP accesses of her printer (for setup of wifi printing) to work. Even though my experience on every other platform indicated that this was a no brainer.
Gornix is protected by the GPL. *

* Gorn Public License. Duplication by inferior sentient species prohibited.

benali72

  • CCF Winner's Circle - Supporter
  • Wise Sage
  • *
  • Posts: 2716
    • View Profile
Re: Chrome Browser not respecting Hosts File?
« Reply #2 on: March 27, 2018, 07:21:31 pm »
I've replaced linux Chromium with Slimjet. It's basically the same thing with privacy enhancements.  It retains the fast speedy Chrome/Chromium architecture.

Download from Slimjet.com or Sourceforge.net.

I D Shukhov

  • CCF Winner's Circle - Supporter
  • Wise Sage
  • *
  • Posts: 6289
    • View Profile
Re: Chrome Browser not respecting Hosts File?
« Reply #3 on: April 10, 2018, 05:27:05 pm »
Chrome is honoring the hosts file now.   It didn't before, even after I typed ipconfig /flushdns as administrator.  Don't really care to investigate what's going on.  Must be some other type of caching other than what flushdns fixes.