Install bind on Windows as the DNS server

Source: Internet
Author: User

This article references a post under Cu. Thanks :)

1. Download bind

Http://ftp.isc.org/isc/bind9/9.4.3/BIND9.4.3.zip

2. Installation
Download the zip package and double-click bindinstall.exe to install it. The default installation path is c: \ windows \ system32 \ DNS. Bind registers itself as a service under Win32. The service name is isc bind,ProgramThe name is named.exe. A private account is required to start the service. The default name is named. The password is customized by the installer. After you click Install, the program will be installed in c: \ windows \ system32 \ DNS. At this time, the bind service cannot be started, and an error code 1067 will be reported, which must be configured first.

3. Configuration
Run Command Line cmd, CD to c: \ windows \ system32 \ DNS \ binand run rndc-confgen.exe-A. rndc is automatically generated under c: \ windows \ system32 \ DNS \ etc. key. This rndc. the key is in BIND 9. the new feature of Version X is about DNS update and encryption during update. It has little to do with our individual users, but is based on compatibility. Next, create named. conf under c: \ windows \ system32 \ DNS \ etc \, which is the BIND configuration file. The file content is as follows:

Include "C: \ windows \ system32 \ DNS \ etc \ rndc. Key ";
Zone "."{
Type hint;
File "C: \ windows \ system32 \ DNS \ etc \ named. Root ";
};

An include line mainly refers to rndc. key is included, Zone ". "One row sets the root node. We create our own DNS server. As long as this is enough, other parameters can be searched and understood on the Internet by ourselves. The named. root file is also stored in the etc directory. If drive C is in NTFS format, remember to define full control of the directory c: \ windows \ system32 \ DNS \ etc for the named user who starts bind. Otherwise, the error 1067 will still be reported (if BIND is not started as a service, it will be started directly in cmd, and permissions do not need to be allowed, because the current user's permissions are used directly)

4. Start


Start the isc bind service from "Computer Management --" service.

 

5. Test

Set the DNS of any machine on the network to the IP address of the machine where BIND is installed. Ping www.google.com. If yes, congratulations, you have done it.

 

Refer:

Http://wiki.ubuntu.org.cn/Bind9%E5% AE %89%E8%A3%85%E8% AE %BE%E7%BD% AE %E6%8C%87%E5%8D%97

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.