is there a way to add a new CNAME into the BIND db file for the server, without having it applied to all domains on the server?
The only method I can see right now is to modify the db_e.tpl file - but that is used for domains as well as the server itself.
The problem I'm trying to solve is that under a multiple server scenario with secondary name servers, the DNS names have to be under the correct $ORIGIN.
Here is the scenario:
I have Server "A", with the name server1.domain.tld
Server "A" holds domain.tld
I also have Server "B", with the name server2.domain.tld
I also have 2 secondary name servers that server1 and server2 transfer to.
If I add information about server2.domain.tld into the DNS of domain.tld, it does not become available in either secondary DNS. I believe what is happening is that when the admin.server'x'.domain.tld zone is transfered to the secondary, it, being the more specific zone, overwrites what was defined for that $ORIGIN in the domain.tld zone.
The short of it is that I cant add names and pointers for the actual servers under domain.tld's DNS management. And because the file itself is overwritten whenever a new client is added, I cant use a static file.
However, I need to get the additional information into the server specific zones to allow for inter-machine communications. This is something specific to the servers themselves - I'd prefer not to have it in the zone files for customers.
Any suggestions?