can reverse lookup but not name lookup

Mark_Andrews at isc.org Mark_Andrews at isc.org
Wed Oct 24 19:49:42 UTC 2001


> 
> <Mark_Andrews at isc.org> wrote in message news:9qhf91$d0a at pub3.rc.vix.com...
> >
> > > Hi,
> > >
> > > Installed bind 9.1.0 on linux 7.1.
> >
> > I would upgrade to 9.1.3.
> >
> > > This is a private network, with no connection to the internet.
> >
> > You don't have a root zone below.  Depending upon the client and
> > resolv.conf settings you may be trying to look up names against
> > the root zone which will use the built in hints.
> >
> > Assuming this is the only nameserver in this universe the following
> > should do.
> >
> > ; root.zone
> > ;
> > $TTL 86400
> > @             SOA     bumper.localdomain. root.bumper.localdomain. (
> > 1        ; Serial
> > 10800          ; Refresh
> > 3600            ; Retry
> > 604800          ; Expire
> > 86400 )         ; Minimum
> >                NS      bumper.localdomain.
> > bumper.localdomain A 192.168.1.10
> > localdomain NS bumper.localdomain.
> > 1.168.192.IN-ADDR.ARPA NS bumper.localdomain.
> > 0.0.127.IN-ADDR.ARPA NS bumper.localdomain.
> >
> 
> Mark, why would you delegate the loopback from the hints zone?

	I said root zone, not root hints.  The above is not valid
	hints.

> Surely this
> is not the case when connected to the Internet, so why do it here rather
> than in named.conf?
> 
> -Arvid

	Just for completeness.

	Mark

> 
> > Mark
> >
> > >
> > > I can reverse lookup all my entries in the revzone, but I cannot do a
> normal
> > > name resolve on any of the hosts.
> > > I can run rndc to re-load the zone OK, there are no errors in
> /var/log/messag
> > > es.
> > >
> > > When I try to resolv a name I get:
> > > 'connection timed out: no servers could be found'
> > > Which is strange as I can reverse lookup OK using host. I
> > >
> > > My named server is bumper on 192.168.1.10
> > >
> > > Heres my named.conf file:
> > > / named,conf for bumper
> > > options {
> > >      directory "/var/named";
> > >      query-source address 192.168.1.10 port 53;
> > >      };
> > > key "rndc_key" {
> > >         algorithm       hmac-md5;
> > >         secret "quL4b3iJ4VC5WHhNPOYVnw==";
> > > };
> > >
> > > controls {
> > > inet 127.0.0.1 allow {localhost;} keys {rndc_key;};
> > > };
> > >
> > >
> > >
> > > // zone for bumper
> > > zone "bumper.localdomain"{
> > >      type master;
> > >      file "bumper.zone";
> > > };
> > // reverse
> > > zone "1.168.192.IN-ADDR.ARPA" {
> > > type master;
> > > file "bumper.revzone";
> > > };
> > >
> > > zone "0.0.127.in-addr.arpa" {
> > >      type master;
> > >      file "localhost.rev";
> > > };
> > >
> > > Here's the bumper.zone file ( named.db):
> > > ; bumper.zone
> > > ;
> > > $TTL 86400
> > > @       IN      SOA     bumper.localdomain. root.bumper.localdomain. (
> > >                00000009        ; Serial
> > >                10800          ; Refresh
> > >                3600            ; Retry
> > >                604800          ; Expire
> > >                86400)         ; Minimum
> > > ; name server
> > >                IN      NS      bumper.localdomain.
> > > ; local host
> > > localhost           IN      A       127.0.0.1
> > > bumper         IN   A    192.168.1.10
> > > comet               IN   A    192.168.1.12
> > > tester         IN   A    192.168.1.11
> > >
> > >
> > > Any idea's please.
> > >
> > > David.
> > >
> > > CONFIDENTIALITY This e-mail and any attachments are confidential and may
> also
> > >  be
> > > privileged. If you are not the intended recipient(s) please note that
> any
> > > distribution, copying or use of this communication or the information in
> > > it is strictly prohibited. If you are not the named recipient(s), please
> noti
> > > fy
> > > the sender immediately and do not disclose the contents to another
> person, us
> > > e
> > > it for any purpose, or store or copy the information in any medium.
> > >
> > >
> > >
> > --
> > Mark Andrews, Internet Software Consortium
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org
> >
> >
> 
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list