rev dns

Maciej Wierzbicki voovoos w kis.p.lodz.pl
Pon, 9 Wrz 2002, 16:10:32 MEST


Krzysztof Oledzki wrote:

> notacja), i nie uzywa sie IP6.INT tylko IP6.ARPA z zupelnie inna notacja,
> dzieki czemu mozna wydelegowac rev dns na ilosc ip nie bedaca
> wielokrotnoscia 16 (czyli np na 2, 4, 32) :)

1)

From: Bill Manning <bmanning w ISI.EDU>
Message-ID: <200207242313.g6OND1A17819 w boreas.isi.edu>
Subject: Re: [6bone] ip6.int or ip6.arpa or BOTH?
To: tvo w EnterZone.Net (John Fraizer)
CC: 6bone w ISI.EDU
Date: Wed, 24 Jul 2002 16:13:01 -0700 (PDT)

% 
% For reverse records, which zones should I be creating?  ip6.arpa or
% ip6.int?  Traces from some places show our reverse and some do not.  I
% have some machines (all using the same DNS servers) that show our
reverse
% on our nets and some that do not.  The machines that don't show ours
WILL
% show *some* other networks reverses for ipv6 addresses.
% 
% So, can someone tell me how I should be set up?  I currently have
ip6.int
% zones.

for 3ffe::/16 space, there is no current ip6.arpa delegation.


-- 
--bill
_______________________________________________
6bone mailing list
6bone w mailman.isi.edu
http://mailman.isi.edu/mailman/listinfo/6bone

2)

From: Kimmo Suominen <kim w tac.nyc.ny.us>
To: John Fraizer <tvo w EnterZone.Net>
CC: 6bone w ISI.EDU
Subject: Re: [6bone] ip6.int or ip6.arpa or BOTH?
Message-ID: <20020725005333.DB36B7E04 w beowulf.gw.com>
Date: Wed, 24 Jul 2002 20:53:33 -0400


More recent versions of glibc only seem to look in ip6.arpa (e.g.
glibc-2.2.4-24 from RHL).  Other systems only look in ip6.int
(e.g. NetBSD).

I've been maintaining both ip6.arpa and ip6.int in nibble format, so
that at least all local nodes will be able to resolve names.  I only
edit files for ip6.arpa, and use a little Makefile to produce the
ip6.int files.

It would be nice to have ip6.arpa for 3ffe::/16, too...  :-)

+ Kim

        IP6ZONES?=      \
                        3ffe:507:184.rev \
                        3ffe:1ce1:100.rev \
                        3ffe:26ff:10.rev \
                        3ffe:2900:b00c.rev \

        .for d in ${IP6ZONES}
        all:: ${d:S/:/_/g}

        ${d:S/:/_/g}: ${d}
                -rm -f ${.TARGET}
                ${SED} -e 's/ip6\.arpa/ip6.int/g' ${.ALLSRC} >
${.TARGET}
        .endfor


_______________________________________________
6bone mailing list
6bone w mailman.isi.edu
http://mailman.isi.edu/mailman/listinfo/6bone

3) Sugerowane rozwiązanie problemów z glibc:

From: "Todd T. Fries" <todd w fries.net>
To: 6bone w ISI.EDU
Message-ID: <20020729143418.GA13170 w fries.net>
Subject: [6bone] glibc fix -> here <-
Date: Mon, 29 Jul 2002 09:34:19 -0500

Home net is down, apoligies for mailing the list, but here's your glibc
fix adapted from KAME/NetBSD/OpenBSD applied against the latest tarball
of
glibc I could find (2.2.5):


--- ChangeLog.orig      Mon Jul 29 09:32:36 2002
+++ ChangeLog   Mon Jul 29 09:34:07 2002
@@ -1,3 +1,8 @@
+2002-06-29  Todd Fries <todd w openbsd.org>
+
+       * resolv/gethnamaddr.c: try ip6.int if ip6.arpa fails; code
adapted
+       from KAME/NetBSD/OpenBSD libc.
+
 2002-01-18  Andreas Schwab  <schwab w suse.de>
 
        * sysdeps/unix/sysv/linux/configure.in

--- gethnamaddr.c.orig  Fri Oct 26 18:49:48 2001
+++ gethnamaddr.c       Mon Jul 29 09:28:10 2002
@@ -696,6 +696,11 @@
                abort();
        }
        n = res_nquery(&_res, qbuf, C_IN, T_PTR, (u_char *)buf.buf,
sizeof buf.buf);
+       if (n < 0 && af == AF_INET6) {
+               strcpy(qp, "ip6.int");
+               n = res_nquery(&_res, qbuf, C_IN, T_PTR, (u_char
*)buf.buf, sizeof buf.buf);
+       }
+               
        if (n < 0) {
                dprintf("res_nquery failed (%d)\n", n);
                if (errno == ECONNREFUSED)
-- 
Todd Fries .. todd w fries.net

(last updated $ToddFries: signature.p,v 1.2 2002/03/19 15:10:18 todd Exp
$)

_______________________________________________
6bone mailing list
6bone w mailman.isi.edu
http://mailman.isi.edu/mailman/listinfo/6bone

Pozdrawiam
-- 
* Maciej 'Voovoos' Wierzbicki * VOO1-RIPE * VOO1-6BONE





Więcej informacji o liście dyskusyjnej 6BONE-PL