dns

Marcel Kunath kunathma@pilot.msu.edu
Tue, 18 Jul 2000 11:41:23 -0400 (EDT)


Yes, that was it. I thought the numbering of the pointer was just a simple
number. But it's not. It's the last part of the IP. duh. The howto was only
using nicely ordered IP numbers so I never noticed the relationship.


mk

 > > I'm not an expert,
but I think that you want your '1' to be '240'
so > that you have 144.132.217.240.  Do you have working right yet? If not,
> try that.
> Good luck,
> -Cory
>
> Marcel Kunath wrote:
> >
> > I just can't see a mistake.
> >
> > ip is 144.132.217.240
> >
> > named.conf:
> > zone "217.132.144.in-addr.arpa" {
> >         notify no;
> >         type master;
> >         file "pz/144.132.217";
> > };
> >
> > /var/named/pz/144.132.217:
> > @       IN      SOA     mail.mydomain.com. kunathma.msu.edu. (
> >                         200007181 ; Serial, todays date + todays serial
> >                         8H      ; Refresh
> >                         2H      ; Retry
> >                         1W      ; Expire
> >                         1D)     ; Minimum TTL
> >                 NS      mail.mydomain.com.
> > 1               PTR     mail.mydomain.com.
> >
> > then it should use pointer 1 to look up mail.mydomain.com
> >
> > It goes to /var/named/pz/mydomain.com:
> >
> > ;start
> > @       IN      SOA     mail.mydomain.com. kunathma.msu.edu. (
> >                         200007181       ; serial, todays date + todays seria
l #
> >                         8H              ; refresh, seconds
> >                         2H              ; retry, seconds
> >                         1W              ; expire, seconds
> >                         1D )            ; minimum, seconds
> > ;
> >                 NS      mail.mydomain.com. ; Inet Address of name server
> >                 MX      10 mail     ; Primary Mail Exchanger
> > ;
> > localhost       A       127.0.0.1
> >
> > mail            A       144.132.217.240      ;this is pointer 1 destination
> >                 MX      10 mail
> >                 HINFO   "Pentium" "Linux 2.2"
> > www             CNAME   mail
> > ;end
> >
> > I don't see how there is anything wrong.
> >
> > mk
> >
> > >
> > > Don't you want to be mapping y.x.w.in-addr.arpa. ??  (if the IP of
> > > mail.mydomain.com is w.x.y.z)
> > >
> > > What does your zone look like in named.conf?  It should probably look
> > > something like this (I think)...
> > >
> > > zone "y.x.w.in-addr.arpa" {
> > >         type master;
> > >         file "pri/y.x.w.in-addr.arpa.db";
> > > };
> > >
> > > What do you think?  Wasn't someone going to do a talk on DNS and BIND
> > > soon anyway?
> > >
> > > -Cory Spitz
> > >
> > >
> > >
> > > Marcel Kunath wrote:
> > > >
> > > > I am experimenting with bind8. I follow the straight forward howto and I
 do
> > > > have
> > > > lookup working. I followed the howto stricly and triple checked but I ca
n't
> > get
> > > > reverse lookup to work.
> > > >
> > > > Here is my reverse lookup zone. I did check that the file name is correc
t
> > > > according to what is pointed to by named.conf zone.
> > > >
> > > > ;
> > > > ; zone file for reverse lookup
> > > > ;
> > > > @       IN      SOA     mail.mydomain.com. kunathma.msu.edu. (
> > > >                         200007181 ; Serial, todays date + todays serial
> > > >                         8H      ; Refresh
> > > >                         2H      ; Retry
> > > >                         1W      ; Expire
> > > >                         1D)     ; Minimum TTL
> > > >                 NS      mail.mydomain.com.
> > > >
> > > > 1               PTR     mail.mydomain.com.
> > > >
> > > > I am trying to do reverse lookup on the machine which is running the nam
eser
> > ver
> > > > and called mail.mydomain.com Shouldn't this work? I use localhost as
> > > > nameserver.
> > > >
> > > > mk
> > > > _______________________________________________
> > > > linux-user mailing list
> > > > linux-user@egr.msu.edu
> > > > http://www.egr.msu.edu/mailman/listinfo/linux-user
> > >
> >
> > --
> > Marcel Kunath
> >
> > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> >
> >  Montie House Network            Greater Lansing Linux Users Group
> >   http://www.montiehouse.com      http://www.gllug.org
> >
> > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>


--
Marcel Kunath

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 Montie House Network            Greater Lansing Linux Users Group
  http://www.montiehouse.com      http://www.gllug.org

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*