Isc Bind 9 for windows

Replacing ms dns with bind9 is an better idea here is why:
1.It's really faster (noticed when i run first query on that machine and had lower latency)
2.Better security (windows2k is not supported with patches in future)
3.You can migrate easily to linux after that ;)

Download from unzip it and run the installer (bindinstaller.exe) from inside directory

Install the package as service (there is an setup inside zip)

create etc/named.conf with folowing content

zone "." {
type hint;
file "named.root";
zone "localhost" IN {
type master;
file "";
allow-update { none; };
zone "" {
type master;
file "named.local";

#isc bind is installed in this dir c:\winnt\system32\dns

include "d:\winnt\system32\dns\named.zones";

directory "c:\windows\system32\dns\etc";

download root dns server list "" from FTP.RS.INTERNIC.NET (anonymous ftp)

create with following content

$TTL 86400
$ORIGIN localhost.
@ 1D IN SOA @ root (
44 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

1D IN NS @
localhost.localdomain. IN A

create named.local
@ IN SOA localhost. root.localhost. (
19 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.

1 IN PTR localhost.

Is time now for named.zones that will contain (shock) zone files

zone "" IN {
type master;
file "";

Where will be created like this (with this content) IN SOA (
200509121 ; Serial
30800 ; Refresh
7200 ; Retry
604800 ; Expire
300 ) ; Minimum IN NS IN NS IN MX 10 IN A IN A IN A IN A

Start the server with this command (to see if any errors )
bin/named -g -f -d 5

If server responds to queries

try dig @localhost

next step is to enable it as service and remove ms dns server (it's that easy to replace monopoly ;))

Share this page:

7 Comment(s)