Creating named.conf files
-
From the command prompt, navigate to the BIND installation folder. For example, cd C:\dns.
-
Switch to the etc directory. For example, cd etc.
-
Type start notepad named.conf, and then press Enter.
-
When prompted to create a file, click Yes.
-
At the top of the file, type options { directory dir‑install; };, where
dir‑install
is the BIND installation directory, and then press Enter.
-
From Windows Explorer, navigate to the BIND installation folder, and then open the etc folder.
-
Open the rndc.conf file, and then copy the text following the # Use with the following named.conf.. line.
-
Open the named.conf file, and then paste the text after the options {directory... line.
-
Remove # from all lines except the Use with the following... and End of named.conf lines.
-
Click File
>
Exit
>
Save.