Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 14:45:37 +0200
From:      rene@xs4all.nl
To:        questions@freebsd.org
Subject:   DNS problem (extra data); not working/returns incorrect when queried from internal net
Message-ID:  <20020914124537.GG50784@xs4all.nl>
In-Reply-To: <20020914101238.GD67045@xs4all.nl>
References:  <20020914101238.GD67045@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Some extra info on this issue might help; 
The NT box uses the fbsd router for DNS; the purpose is to let fbsd cache
DNS information locally.
I might aswell post all config files stripped of irrelevancies;

/etc/namedb/named.conf;

        forwarders {
                194.109.6.66; 194.109.9.99;
        };

        query-source address * port 53;

zone "." {
        type hint;
        file "named.root";
        allow-query {
                127.0.0.1/32; 192.168.102.0/24;
                };
};

zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "localhost.rev";
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT"
{
        type master;
        file "localhost.rev";
};

zone "outerheaven.net" {
        type master;
        file "db.local-domain";
        allow-query {
                127.0.0.1/32; 192.168.102.0/24;
        };
};

zone "102.168.192.in-addr.arpa" {
        type master;
        file "db.local-domain.rev";
        allow-query {
                127.0.0.1/32; 192.168.102.0/24;
        };
};

/etc/namedb/named.root
;       related version of root zone:   1997082200
; $FreeBSD: src/etc/namedb/named.root,v 1.9 1999/09/13 17:09:08 peter Exp $

The local domain zones are uninteresting for this problem imho, ask for them
(with argument) if i'm wrong.

On Sat, Sep 14, 2002 at 12:12:38PM +0200, rene@xs4all.nl wrote:
> Hmmzz.. this mornin' my puters showed me some new weird behaviour. I have a
> 4.6-stable box as a secured router for my NT2K box.
> Would appreciate any clues..
> 
> fbsd$ ping www.xs4all.nl
> PING www.xs4all.nl (194.109.6.92): 56 data bytes
> 64 bytes from 194.109.6.92: icmp_seq=0 ttl=251 time=29.688 ms
> 
> no problem there; however, from the NT box:
> 
> [c:\4nt]ping www.xs4all.nl
> Unknown host www.xs4all.nl.
> 
> and this while;
> 
> [c:\4nt]nslookup www.xs4all.nl
> Server:  router.my.net
> Address:  192.168.102.1
> 
> Non-authoritative answer:
> Name:    www.xs4all.nl
> Address:  194.109.6.92

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020914124537.GG50784>