I installed bind using the default settings in the installer. I successfully generated a rndc.key file. I needed to populate the etc folder, so I downloaded the Ubuntu version of bind and extracted the contents of /etc and put them in Windows version of etc. I went through the files one by one and replaced Linux paths with Windows paths. So bind starts then immediately quits. The error report is below. I have included my config files. I am using bind only as a recursive revolver as my ISP DNS servers are super slow and they do DNS hijacking. I don't want to use any other DNS server other than the one running on my machine. I want to run my own DNS server for fun. So what could be wrong, what did I miss.

Event Type:    Error
Event Source:    Service Control Manager
Event Category:    None
Event ID:    7022
Date:        3/26/2013
Time:        5:30:16 PM
User:        N/A
Computer:    MOM
Description:
The ISC BIND service hung on starting.

named.conf:
include "C:\WINDOWS\system32\dns\etc\named.conf.options";
include "C:\WINDOWS\system32\dns\etc\named.conf.local";
include "C:\WINDOWS\system32\dns\etc\named.conf.default-zones";




named.conf.options: Note that I commented out the /var/cache because I thought we don't need that on Windows or am I wrong.

// options {
//    directory "/var/cache/bind";

    dnssec-validation auto;

    auth-nxdomain no;    # conform to RFC1035
    listen-on-v6 { any; };
};


named.conf.default-zones:

// prime the server with knowledge of the root servers
zone "." {
    type hint;
    file "C:\WINDOWS\system32\dns\etc\db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
    type master;
    file "C:\WINDOWS\system32\dns\etc\db.local";
};

zone "127.in-addr.arpa" {
    type master;
    file "C:\WINDOWS\system32\dns\etc\db.127";
};

zone "0.in-addr.arpa" {
    type master;
    file "C:\WINDOWS\system32\dns\etc\db.0";
};

zone "255.in-addr.arpa" {
    type master;
    file "C:\WINDOWS\system32\dns\etc\db.255";
};

--
http://namiwalks.nami.org/joannehomier

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to