I'm a moderator (or I play one on television; sometimes I'm not too sure which
).
And I know the answer, so I'll give it here. But in general, it's a good idea to find a forum most closely related to what you're looking for. If I didn't know the answer, I'd probably look on the archives of the
bind-users mailing list at isc.org.
I'm presuming you're using these servers as authoritative nameservers, because if you were using them as cacheing nameservers they'd pick up the records no matter where the authoritative records were located.
DNS doesn't use the concept of primary and secondary, though the terminology was used years ago. Now even the terminology has been deprecated in favor of
master and
slave.
If you read the RFCs you'll find that all DNS servers listed (in the root servers, found generally by checking
whois) for a domain must be authoritative for the domain. They must actuall have an authoritative zone file for the domain. Masters get them because you've put them there, properly configured slaves get them by updating themselves from properly configured masters.
You can make the first nameserver authoritative for some domains, and be cacheing for all other domains, but if you do that, then the nameservers for the domains on the second server must be configured in the root to use only the second nameserver, and the domains on the first server must be configured in the root to use only the first nameserver. Depending on the TLD of the domain you may need to list a minimum of two nameservers, though some TLDs may allow you to list the same IP# for both servers. And cacheing servers will look up and cache results for all domains, not just the ones on your second server.
There may be a way to use forwarders to accomplish something similar; I'm not sure. One description of forwarders can be found
here.
If your domains are all local domains, not part of any TLD, then you're on your own as to how to define your root servers; I don't manage local domains and I'd guess none of the rest of us do, either; we're almost all webhosting companies offering shared webhosting, always on public domains on the public Internet.
Jeff