Creating named.conf files

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