One Zone file for two domains

Posted by Kortex786 on Server Fault See other posts from Server Fault or by Kortex786
Published on 2010-05-17T08:36:48Z Indexed on 2010/05/17 8:41 UTC
Read the original article Hit count: 196

Filed under:
|

Hello,

I have to manage two domains : compagny.com copagny.bigcompagny.com

I use Bind9 on Debian Lenny.

I want to use one Zone file for both domains.

  • If I ask for server.compagny.com, it will give me address 10.0.0.1
  • If I ask for server.compagny.bigcompagny.com, it will give me the same address 10.0.0.1

I don't want to create twice the same files for my DNS Server : Too hard to maintain.

How can I do that ?

Thx

© Server Fault or respective owner

Related posts about dns

Related posts about bind9