HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Bind DNS for Multiple Domains (http://www.howtoforge.com/forums/showthread.php?t=57755)

vijayprabhakar 27th June 2012 20:46

Bind DNS for Multiple Domains
 
Hi Guys,

If i have 2 or more domains such as domainname.com,domainname.net yourdomain.com etc..

I configure master DNS for yourdomain.com where i configured on named.conf and created zone files .

if have multiple domain names such as i mentioned above.Where i have to include these domain names in named.conf or shall i just create zone files ..?

Guys please help me

TiTex 27th June 2012 21:04

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

vijayprabhakar 27th June 2012 21:35

Thanks Titex,

After we configured slave server when we adding a new record on example.com zone file we need to increase the count on serial number.

In the multiple domain case we need to increase to count on all zone files or example.com zone file alone...?


All times are GMT +2. The time now is 08:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.