View Single Post
  #2  
Old 27th June 2012, 21:04
TiTex TiTex is offline
Senior Member
 
Join Date: Aug 2011
Location: Cluj-Napoca,Romania
Posts: 125
Thanks: 0
Thanked 18 Times in 17 Posts
Send a message via Skype™ to TiTex
Default

you can include as many domains as you want in named.conf like this

Code:
zone "example.com" in{
  type master;
  file "master.example.com";
}

zone "example.net" in{
  type master;
  file "master.example.net";
}
Note: the zone file is a relativ path for the directory specified in the options stanza in named.conf.
Note2: there are many other options you can specify both in zone stanza's and/or other options ... you should check the bind documentation
Reply With Quote