Adding a zone to BIND is a two-step process:
- Create a zone file
- Add a reference to that zone in named.conf
The format of the zone file is not specific to BIND. The reference in
named.conf should look something like this:
Code:
zone "mydomain.com" IN {
type master;
file "mydomain.com.zone";
};
Your
named.conf will contain a "directory" parameter specifying the base directory for your zone files. The "file" reference must be relative to that directory.
Do you have any specific questions about either
named.conf or zone files?