How to Set Up a Local Domain with Bind in Windows
First you need to download the latest BIND and install., Once the package is downloaded, unzip it to somewhere memorable. , Navigate to the folder and run BINDInstall.exe., If all goes well you should now have a shiny new folder in the directory of...
Step-by-Step Guide
-
Step 1: First you need to download the latest BIND and install.
You can find it here https://www.isc.org/downloads/. -
Step 2: Once the package is downloaded
, You can use the default install path if you like, or c:\named as it's a bit more accessible than c:\windows\system32\DNS.
Make sure to check 'Automatic Startup' and 'Keep Config Files after Startup'; do not check 'Start BIND service after install'. , Open a cmd prompt.(cmd.exe) For the sake of contiguity lets say the install folder is C:\named.
Now change directory to c:\named\bin. , rndc-confgen
-a rndc-confgen >..\etc\rndc.conf , Now create a file in c:\named\etc called named.conf. ,, Start the ISC BIND service by right clicking on my computer, selecting manage, then selecting services , If the server starts with no hiccups and if all is good, you can now configure your network. ,,, -
Step 3: unzip it to somewhere memorable.
-
Step 4: Navigate to the folder and run BINDInstall.exe.
-
Step 5: If all goes well you should now have a shiny new folder in the directory of your choosing.
-
Step 6: Type the following commands to generate rndc.key and rndc.conf.
-
Step 7: Create the directory 'zones'.
-
Step 8: Open rndc.conf look for the line "Use with the following in named.conf
-
Step 9: adjusting the allow list as needed:" and copy everything underneath and paste it into the named.conf file.
-
Step 10: After editing the files to your preferences you will need to check and see that your DNS server is running properly and that your configuration and zone files are correct.
-
Step 11: Scroll to ISC BIND and click start.
-
Step 12: Forward ports 53 and 953 on both TCP and UDP on your router to the ip you are running the server on.
-
Step 13: Now you must set your nics on each device to use your bind ip and the ip of your router.
-
Step 14: If you have followed the instructions you should be able to do nslookup on the domains and grab results from your new name server.
Detailed Guide
You can find it here https://www.isc.org/downloads/.
, You can use the default install path if you like, or c:\named as it's a bit more accessible than c:\windows\system32\DNS.
Make sure to check 'Automatic Startup' and 'Keep Config Files after Startup'; do not check 'Start BIND service after install'. , Open a cmd prompt.(cmd.exe) For the sake of contiguity lets say the install folder is C:\named.
Now change directory to c:\named\bin. , rndc-confgen
-a rndc-confgen >..\etc\rndc.conf , Now create a file in c:\named\etc called named.conf. ,, Start the ISC BIND service by right clicking on my computer, selecting manage, then selecting services , If the server starts with no hiccups and if all is good, you can now configure your network. ,,,
About the Author
Kayla Russell
Creates helpful guides on organization to inspire and educate readers.
Rate This Guide
How helpful was this guide? Click to rate: