Finding difficulty in delegating to a different nameserver

Kevin Darcy kcd at daimlerchrysler.com
Wed Aug 28 23:22:25 UTC 2002


sanapala at yahoo.com wrote:

> Hi,
> I have a requirement where all the requests to a DNS server to be
> resolved to  its own IP  and few requests to be resolved by other DNS
> servers which I specify. I am re-posting my earlier message after
> incorporating the feedback from Kevin Darcy. I am trying to delegate
>
> something1.mvpx.com  to dns-sj.mvpx.com.
> something2.mvpx.com  to dns-sj.mvpx.com.
>
> named.conf looks like:
> /*********start of named.conf *******/
> options {
> directory "/var/named";
> };
> zone "." {
> type master;
> file "zone/iammaster";
> };
> zone "localhost" {
> type master;
> file "zone/localhost";
> };
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "zone/127.0.0";
> };
> /*********Endof named.conf *******/
> contents of iammaster :
> @ IN SOA urt-appliance4.mvpx.com. hostmaster.mvpx.com. (
> 2001062702      ; Serial number
> 86400           ; Refresh 1 day
> 7200            ; Retry   2 hours
> 3600000         ; Expire 41.67 days
> 172800 )        ; Minimum TTL 2 days
>
> something1.mvpx.com.      IN NS   dns-sj.mvpx.com.
> something2.mvpx.com.      IN NS   dns-sj.mvpx.com.
> dns-sj.mvpx.com.          IN A    171.70.168.183
>
> .. 3600000 IN NS      urt-appliance4.mvpx.com.
> * IN A 192.168.66.243 ;wild card entry for all other requests
>
> /*********End of iammaster  *******/
>
> With  this configuration I am not able make it working.
> nslookup something1.mvpx.com is working as expected. But the wild card
> resolution is not working.
> Except for "something1" and "something2", all the requests should be
> resolved to 192.168.66.243. "something1" and "something2" should be
> resolved by
> "dns-sj.mvpx.com".  I don't have any control over "dns-sj.mvpx.com".
> Without the lines for delegation, it works for wild card entries.
> Could you please point out where I am doing wrong.
> thanks in advance,

I tried this exact zone file (cut & paste), and discovered that named (BIND
9.2.1) chokes on the bogus ".." owner name.

Fix that, and it should work.


- Kevin




More information about the bind-users mailing list