DNS Extras


Create a "root.hosts" file.

If using a firewall then the following program needs to be given permission to access the internet.
c:\windows\system\dns\bin\dig.exe

Open a administrator command prompt and type :-
cd c:\windows\system\dns\bin     (enter)
dig NS . @m.root-servers.net > root.hints    (enter)

This creates the file in folder c:\windows\system\dns\bin
Open the file with notepad, if it looks good then move it to folder c:\windows\system\dns\etc



Use Bind9 to block adverts.

1) The named.conf file needs to contain the line :-
include "filter.conf";
If using the named.conf file from this site change the last line from //include "filter.conf"; to include "filter.conf";

2) Need to add the file c:\windows\system\dns\etc\null.zone.file
null.zone.file
; DNS NULL Zone File for host filtering
;

$TTL 36000
@ in  soa  localhost. postmaster.localhost. (
           0   ;serial
           0   ;refresh
           0   ;retry
           0   ;expiration
           0 ) ;minimum
;
; Zone NS records
;
@          NS localhost.
           A 127.0.0.1
*          IN A 0.0.0.0
Copy the above and past in to notepad, save as c:\windows\system\dns\etc\null.zone.file

3) Need to add the file c:\windows\system\dns\etc\filter.conf


Only the first few lines of this large file are show here.
Peter Lowe maintains this list of adservers which I believe is updated each month.
The list can be viewed here .
4) Copy the full list from the web page and past in to notepad.
Save as c:\windows\system\dns\etc\filter.conf

5) Need to stop the service ISC BIND and re-start it or re-boot windows.

6) Check that ad blocking is working by typing "www.101order.com" in the browser. If the site is not found then ad blocking is working.



DNS Benchmark


Download Steve Gibson's excellent DNS benchmark tool.

Benchmark results while running Bind9 (127.0.0.1)

Uncached result for Bind are disappointing. Cached results are excellent.

Benchmark while running using Acrylic DNS Proxy (127.0.0.1)  which in turn used DNS servers 62.6.40.162 and my ISP's DNS server.

Excellent uncached and cached result for Acrylic DNS Proxy.
It was however using one of the fastest DNS server in this test 62.6.40.162 and my ISP's as a secondary DNS server.
One of the advantages of Acrylic is it can query up to three DNS servers at the same time and use the answer from the first one to respond.
Windows only queries the second DNS server if the first fails to give an answer.

Acrylic Stats log



Change DNS Settings for Windows
Manually change DNS settings
Use a batch file to switch DNS settings in seconds.
List of freely available DNS servers and batch file downloads.
Install a personal DNS caching resolver
DNS resolvers available for windows and where to download.

Install Bind for Windows
Install Bind as a local DNS caching resolver.

Install Unbound for Windows
Install Unbound as a local DNS caching resolver.

Home Page


footer
Copyright© NPR 2010 - 2012       Disclaimer