Etc/hosts file entries

Using etc/hosts file we can limit particular web site entering our system with 127.0.0

. Then this useless web site will not load in browser.

But at the same time if i would like to prioritize a web site as my home web site and if it should have highest priority, by passing all other hops, what should i do? ?? ??

How do i prioritize endeavour OS servers in /etc/hosts file?
Many times endeavour OS servers are not reachable.
Since EOS current rule prevents arch linux servers loading before EOS, i can not download archlinux updates.

Are you having issues with updating your system?

Perhaps you would need to reorder servers in your mirrorlists in /etc/pacman.d.


It is an issue with ISP. They are somehow blocking connections to EU servers in routing.If we expunge network connections few times the update starts. Not an issue with server list and its order.

Though secure, we have a disadvantage with DNS over TLS.
If ISP has rouges, they can conveniently block some web sites and ip addresses. Which is not the case with DNS over https.
ISP is full of rogues,and they are doing it. Here everyone makes big bang on and So they don’t like someone missing their spy network of DNS servers

Hence i am looking for an option to prioritize a url(" " etc) in etc/hosts file, bypassing intermediate hops of ISP routers which are a kind of hurdle.

DOH and DOT are kind of useless…
As I see it, all they do is to cause problems for network administrators.

There is a SNI header that defeats all the DOH and DOT thing if you know where to look it…


1 Like

/etc/hosts only translates names into IPs. It won’t have any impact on routing.

If you want to prioritize which mirrors get used first, you can do that in the mirror list files in /etc/pacman.d/


In the situation you described in several threads here, I would recommend for you to make yourself familiar with dnscrypt-proxy:

1 Like

If they were really blocking EU IPs, you couldn’t make it work.

You mean you can’t use other DNS servers such as Cloudflare ( or Quad9 ( ?
You can install your own local DNS resolver like Unbound on your computer.

1 Like