Ist es möglich, Windows 10 so einzustellen, dass DNS-Server ignoriert werden und nur die hosts-Datei verwendet wird?

326
gaazkam

Wie im Titel?

Was ich möchte, ist, den Internet-Zugang nur für vordefinierte Domänen zu erlauben, die explizit in Hosts aufgeführt sind.

Wenn dies nicht möglich ist, gibt es eine andere Möglichkeit, nur vordefinierte Domänen zuzulassen?

-1

1 Antwort auf die Frage

1
gronostaj

I think using a fake DNS (eg. 127.0.0.1) would be sufficient. There's just one problem: it won't solve your problem.

Internet doesn't work on domains, it works on IPs. Domains are an addition that solves the problem of IPs being hard to remember. DNS translates domain names to server IPs. For most protocols you can simply put in IP instead of the domain and it will just work. HTTP 1.1 is an exception - the domain name used is sent in HTTP headers to allow for running multiple domains on one IP. Headers can be easily manipulated and you could still get to any website without DNS.

Oh, and you could simply use an OS-independent DNS resolver.

What you need is a firewall.