<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I know in the addn-host you can specify additional hosts files. It would be great to extend the syntax, so we can block some domains (ipv4 and ipv6).</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Currently I add some domains with 127.0.0.1 or 0.0.0.0 to blacklist them but it seams not to be really the same than be resolved to NXDOMAIN, since (some) tools try then to connect to the specified ips.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The background is, I have some services running on a local machine. An entry in the addnhost file is only done if the service is running. So, if now a service dies (or is deactivated) and another service tries to resolve it by its name, the ip can not be resolved
locally and the request it forwarded to the upstream resolver (which in my case leads to a security issue). </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-size: 12pt; color: rgb(0, 0, 0);"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;">A other solution would be to use the
</span><span style="font-family: "Times New Roman";"><b>bogus-nxdomain</b></span><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;"> so I can map my services to a specify ip and define it as a bogus-nxdomain.
But this option seems not to be working with domains defined in the addn-hosts files.</span></div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>