problem forwarding a subdomain
Steve Sandau
ssandau at gwi.net
Fri Oct 15 12:21:55 UTC 2004
Barry Margolin wrote:
> In article <ckmj3r$1cel$1 at sf1.isc.org>,
> Mauricio Prates <mauricio_prates at sicredi.com.br> wrote:
>
>
>> Hello there, I have the follow situation, one DNS Server with domain
>>"anything.com" and another DNS Server with subdomain
>>"01.0001.anything.com". I have configured the second DNS to local resolv
>>the subdomain "01.0001.anything.com" and forward the domain
>>"anything.com" to the first DNS server. This is working fine, for
>>example, from the computer "comp1.anything.com" I can resolv the name
>>"fileserver.anything.com".
>>
>> And I have configured the first DNS server to local resolv the domain
>>"anything.com" and forward the subdomain "01.0001.anything.com", but
>>this isn't working, for example, from "fileserver.01.0001.anything.com"
>>I can't resolv "comp1.anything.com".
>>
>> Anyone knows wath I have to do to have this situation working ?
>>
>> Here are part of my named.conf
>>
>>FIRST DNS SERVER
>>zone "01.0001.anything.com" in {
>> type forward;
>> forwarders { 10.3.4.1; };
>>
>>
>>SECOND DNS SERVER
>>zone "anything.com" in {
>> type forward;
>> forwarders { 172.21.12.101; 172.21.12.100; };
>>
>>
>>Btw, I'm using BIND 9.2.2 and SUSE 9.0 in the both servers.
>
>
> Does the zone file for anything.com on the first server include NS
> records for 01.0001.anything.com? Forwarders are only followed when a
> subdomain is delegated out of the authoritative zone.
>
Delegating 01.0001.anything.com properly to the second DNS server (with
NS records for 01.0001.anything.com in anything.com zone on the first
nameserver) would also remove the need for forwarding, I believe. Is
Steve
More information about the bind-users
mailing list