Static entries and forwarding for the same zone???!!
Barry Margolin
barmar at genuity.net
Mon Aug 6 23:34:44 UTC 2001
In article <9kn6q7$cs3 at pub3.rc.vix.com>,
Kevin Darcy <kcd at daimlerchrysler.com> wrote:
>
>Barry Margolin wrote:
>
>> 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.
>
>Of course, those are now *separate* zones, not "the same zone"...
True, but it accomplishes the intended goal. I doubt that the
administrator really said "zone", or if he did I doubt that he really
understands the difference between a domain and a zone and intended his
request to be taken literally.
--
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