partial zone?

P1 p1 at eagency.com
Thu Jul 24 17:10:32 UTC 2008


Thanks.
I tried it but get this:
** server can't find host1.testdomain.com: SERVFAIL
I've gone through the syntax many times, since I often forget to close
a "quote or something, but I can't find any errors.


On Tue, 22 Jul 2008 18:32:20 -0700, "Dawn Connelly"
<dawn.connelly at gmail.com> wrote:

>you can set up domains in your named.conf for host1.testdomain.com and
>host2.testdomain.com as masters and have an A record for the domain that
>resolves to the IP address you want. Since you wouldn't be authoritative for
>the full domain, it would still look to the other name server for resolution
>of the other records.
>Named.conf would look like this:
>
>zone "host1.testdomain.com" in {
>  type master;
>  file "host1.testdomain.com";
>};
>The zone file would look like this:
>
>host1.testdomain.com.     IN     SOA    MyDNSserver.testdomain.com.
>hostmaster.testdomain.com. (
>                    2008072200 ; serial
>                    21600      ; refresh after 6 hours
>                    3600       ; retry after 1 hour
>                    604800     ; expire after 1 week
>                    86400 )    ; minimum TTL of 1 day
>host1.testdomain.com.  IN    A    10.0.0.1
>
>
>
>On Tue, Jul 22, 2008 at 5:30 PM, PL <plecki3 at eagency.com> wrote:
>
>> Is it possible to have a zone with just a few A-records resolving to
>> local addresses but forwarding all other queries for records not found
>> within the local zone to another server?
>>
>> Example:
>>
>> MyDNSserver would host the testdomain.com zone with:
>> host1 IN A 10.0.0.1
>> host2 IN A 10.0.0.2
>>
>> RealDNSserver would host the same testdomain.com zone with ALL
>> records, including the ones defined in MyDNSserver:
>> host1 IN A 55.55.55.1
>> host2 IN A 55.55.55.2
>> host3 IN A 55.55.55.3
>> host4 IN A 55.55.55.4
>>
>> Now, a client on my 10.0.0.0 network would query MyDNSserver for host1
>> and get an answer of 10.0.0.1 but if it queries for host3, it would
>> get 55.55.55.3 which would come from RealDNSserver which replied to
>> the forwarded request from MyDNSserver.
>>
>> Thanks,
>> Pete.
>>
>>
>
>


More information about the bind-users mailing list