Static entries and forwarding for the same zone???!!

Barry Margolin barmar at genuity.net
Tue Aug 7 16:26:59 UTC 2001


In article <9ko399$gkq at pub3.rc.vix.com>, kshong <kshong at singnet.com.sg> wrote:
>Thanks. I've tried but it wont work....

Could you go into more detail about why it doesn't work?

This solution assumes that the machines that need to see these static
entries are using this server in their resolver configurations.

>"Barry Margolin" <barmar at genuity.net> wrote in message
>news:9kmvcm$bt0 at pub3.rc.vix.com...
>> In article <9km9v1$6a9 at pub3.rc.vix.com>, kshong <kshong at singnet.com.sg>
>wrote:
>> >A site administrator wants me to setup both static entries and 'type
>> >forward;' for the same zone. This means that bind has to resolve some dns
>> >names from a file and if it can't find the answer there, it will forward
>the
>> >query to another dns server. do you think it's possible???!! *scratching
>> >head*
>>
>> Create a separate master zone for each of the static entries:
>>
>> zone "company.com" {
>>   type forward;
>>   forwarders { 1.2.3.4; };
>> };
>>
>> zone "host1.company.com" {
>>   type master;
>>   file "db.host1";
>> };
>>
>> zone "host2.company.com" {
>>   type master;
>>   file "db.host2";
>> };
>>
>> and so on.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list