Delegating on the same DNS server

Kevin Darcy kcd at daimlerchrysler.com
Mon May 21 21:22:01 UTC 2001


Why are you using "any" queries? "Any" queries are generally treated
non-recursively even if the server would normally honor recursion. When I issue
an "A" query of test.meetu.esponte.com, 194.90.1.5 is able to find it just
fine.

Also, what lookup tool are you using? It shouldn't have reported the response
as "does not exist". That's confusing. What you almost certainly got was a
*referral*, which is more like "I dunno, ask someone else" than "does not
exist".


- Kevin

Erez Avraham wrote:

> Greetings
>
> I'm using bind 8.2.3-91 on suse 7.1, this machine is the primary for the
> domain 'esponte.com'
> I tried to create a delegation for the domain 'meetu.esponte.com' managed on
> the same machine . The NS record for 'meetu.esponte.com' is pointing to the
> same machine as the NS for 'esponte.com'
>
> When I'm trying to query the server (212.179.27.121) for new records in
> 'meetu.esponte.com' I'm getting mixed responses
> For example I queried "ns1.noc.netcom.net" and got:
>
> Query: test.meetu.esponte.com.  Query type: Any record
> Recursive query: Yes    Authoritative answer: No
> Query time: 561 ms.     Server name: ns1.noc.netcom.net
>
> Answer:
>         test.meetu.esponte.com. 84887   A       216.34.120.177
>
> Authority:
>         meetu.esponte.com.      84887   NS      ns.meetu.esponte.com.
>
> Additional:
>         ns.meetu.esponte.com.   85595   A       212.179.27.121
>
> And then queried "194.90.1.5" and got :
>
> Query: test.meetu.esponte.com.  Query type: Any record
> Recursive query: Yes    Authoritative answer: No
> Query time: 520 ms.     Server name: 194.90.1.5
>
> The host or domain "test.meetu.esponte.com." does not exist
>
> These 2 DNS servers are just servers I picked from a list, they are no
> slaves for my domain.
>
> Here is my named.conf:
> zone "." IN {
>         type hint;
>         file "root.hint";
> };
>
> zone "localhost" IN {
>         type master;
>         file "localhost.zone";
>         check-names fail;
>         allow-update { none; };
> };
>
> zone "0.0.127.in-addr.arpa" IN {
>         type master;
>         file "127.0.0.zone";
>         check-names fail;
>         allow-update { none; };
> };
>
> zone "esponte.com" in {
> type master;
> file "db.esponte"; #the zone files are stored at /var/named
> allow-transfer { any; };
> allow-query { any; };
>
> notify yes;
> };
>
> zone "27.179.212.in-addr.arpa" in {
>        type master;
>        file "db.27.179.212";
> };
>
> zone "meetu.esponte.com" in {
>        type master;
>        file "db.meetu.esponte.com";
>
> };
>
> Here is db.esponte:
>
> ;BIND DUMP V8
> $ORIGIN com.
> esponte 86400   IN      NS      ns.esponte.com. ;Cl=2
>         86400   IN      NS      dns.atwwm.com.  ;Cl=2
>         86400   IN      SOA     ns.esponte.com. ereza.meetu.com. (
>                 6 10800 3600 64800 86400 )      ;Cl=2
>         86400   IN      MX      10 mail.esponte.com.    ;Cl=2
> $ORIGIN esponte.com.
> ftp     86400   IN      A       212.179.27.121  ;Cl=2
> mail    86400   IN      A       212.179.27.121  ;Cl=2
> wwm     86400   IN      A       192.168.1.111   ;Cl=2
> www     86400   IN      A       212.179.27.121  ;Cl=2
> ns      86400   IN      A       212.179.27.121  ;Cl=2
> ereza           IN      A       212.179.27.121
> ;
> ;Delegation for meetu.esponte.com
> ;
> meetu                   86400 IN NS ns.meetu.esponte.com.
> ns.meetu.esponte.com.   86400 IN A 212.179.27.121 ;this is the glue record
>
> Here is db.meetu.esponte.com:
>
> @ IN SOA ns.meetu.esponte.com. ereza.meetu.com. (
>                         2       ;
>                         10800   ;
>                         3600    ;
>                         64800   ;
>                         86400 ) ;
>
>      IN NS ns
> test IN A  216.34.120.177
> ns   IN A  212.179.27.121
>
> Whats wrong with this configuration?
> thanks
>
> ____________________________________________
> ____________________________________________
> Meet me in my eOffice at -   http://ereza.meetu.com
> Erez Avraham
> MeetU.COM Ltd
> Tel : +972-49592424  extention 723
> Fax: +972-49592106
> Mobile: +97253720777
> Email : ereza at meetu.com
> ICQ: 53643328
> www.meetu.com
> ____________________________________________
> ____________________________________________
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.251 / Virus Database: 124 - Release Date: 26/04/2001





More information about the bind-users mailing list