Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2003 23:01:59 +0200
From:      Toni Schmidbauer <toni@stderror.at>
To:        freebsd-questions@freebsd.org
Subject:   Re: problem with DNS resolving
Message-ID:  <20030401210159.GA10973@devil.stderror.at>
In-Reply-To: <Pine.GSO.4.53.0304012211060.7268@eldar.hayholt.org>
References:  <Pine.GSO.4.53.0304011926560.7268@eldar.hayholt.org> <20030401180954.GD10095@devil.stderror.at> <Pine.GSO.4.53.0304012012160.7268@eldar.hayholt.org> <20030401185320.GF10095@devil.stderror.at> <Pine.GSO.4.53.0304012211060.7268@eldar.hayholt.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 01, 2003 at 10:17:52PM +0200, Marcel Stangenberger wrote:
> It shows me the zonefile from my server

so far so good, bind seems to be working. what command did your
issue so that you think you can't resolve your zone entries
localy?

output of 'ifconfig -a' could be helpfull.

you could also try running tcpump(1) while trying to resolve
names. try sniffing on all interfaces, so you can tell where your
name service queries are going to.

i tried quering your nameserver for www.google.com but i didn't
get any response so it seems your forwarding is not working.

> i just added the lines you suggested but i got the following error :
>=20
> Apr  1 22:14:20 moredhel named[673]: reloading nameserver
> Apr  1 22:14:20 moredhel named[673]: /etc/namedb/named.conf:46: unknown
> ACL 'trusted'

bind is very touchy regarding the order of options. first you
have to define the acl and afterwards you can use it in your
options stanza, so:

acl trusted {   127.0.0.1;
                 195.18.92.98;
                 195.18.103.140;
                 195.18.92.103;
                 195.18.109.250;
};

options {
         directory "/etc/namedb";
=20
         forward first;
         forwarders {
                 195.18.114.5;
                 195.18.115.5;
                 };
=20
         allow-transfer { trusted; };
};

is the correct order.

> Apr  1 22:14:20 moredhel named[673]: db_load could not open:
> named.root: no such file or directory

your named.root file is also missing

your can get one with the following command:

'dig @e.root-servers.net . ns > named.root'

toni
--=20
Behandle die Menschen, als w=E4ren sie, was sie sein | toni@stderror.at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein k=F6nnen.  - Johann Wolfgang von Goethe     |

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+if5Hu/mjSj7RMocRArCdAJ9Fp0FvOQT/0QGVqRWqVnhP80UXyQCgh/Ic
yDBL4qo2tn6O4JFPU+EbbA4=
=zzci
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



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