On 8/12/19 10:34 AM, Suvayu Ali wrote:
I would like to ban a particularly slow mirror[1]. It's the
closest
mirror to my geographical location (one of only two mirrors in my
country, India). Every time I see a bad download error message from
that mirror, everything subsequent to that speeds up and uses the full
capacity of my connection. How can I achieve this?
You could add it to your /etc/hosts file like:
127.0.0.2 the.bad.domain
This will make the domain resolve to localhost which will either
immediately fail if you aren't running a local web server or else it
will get a 404 and try a different mirror.