On 1/24/21 1:01 AM, J.Witvliet--- via users wrote:
Didn’t know you could do that.
I tried it, but my bind complained that I was not authoritive.
(Right now there is a dns-storm against the USA-IRS)
Top-posting... :-(
I'm not quite sure what you're doing, but it's not what being described.
We're talking about putting the hostname in your /etc/hosts file and
pointing it to a localhost address. It has nothing to do with bind.
> *From: *"Joe Zeff" <joe(a)zeff.us <mailto:joe@zeff.us>>
> *Date:* Sunday, 24 January 2021 at 08:07:57
> *To: *"users(a)lists.fedoraproject.org" <users(a)lists.fedoraproject.org
> <mailto:users@lists.fedoraproject.org>>
> *Subject:* Re: midco DNS corruption?
>
> On 1/23/21 10:30 PM, Tim via users wrote:
>> I used to do that, but using the hosts file only leaves you with two
>> choices: Give annoying domains a wrong IP to connect to that either
>> tries to load non-existent files from a real server (wasting traffic
>> and filling logs), or tries to connect to a server that isn't there
>> (and waits a long time for a timeout).
>
> Or, you do the sensible thing and point said domain to 127.0.0.1, so
> that it times out almost instantly.