ipv6 config

a Special guy urgrue at tumsan.fi
Fri Dec 22 10:49:39 UTC 2000


thanks for everyones help, it works now and i dont even get any error messages ;)

PS. can i not have both (ip6.int and ip6.arpa) in use at the same time (for sake of backwards-compatibility...or should i say forwards-compatibility)?


> 
> 	You have "$ORIGIN \[xfec0fede0000cade/64].ip6.arpa." within
> 	"e.d.a.c.0.0.0.0.e.d.e.f.0.c.e.f.IP6.arpa".  The two are
> 	not the same.  Either choose bit string labels or choose
> 	nibbles.
> 
> 	Mark
> > 
> > hi.
> > im trying to configure bind9.1.0b1 for ipv6, and am having no luck, specifica
> > lly with reverse lookups.
> > ive found countless examples on the internet but none seem to work.
> > 
> > if someone could please send me a _complete_ example (named.conf and zone fil
> > es) id be grateful.
> > 
> > or if anyone wants to delve into my problem, the errors i get when loading na
> > med are:
> > 
> > named: listening on IPv4 interface xxxx
> > (why no IPv6 interface listed here? its mentioned in named.conf at 'listen-on
> > ')
> > 
> > dns_master_load: /var/named/fec0:fede:0:cade.ip6.arpa:XX: ignoring out-of-zon
> > e data
> > XX=line number, and i get three of these, but i cant figure out the line numb
> > ering logic (error reports 11,14,15, but the file has only 14 lines...)
> > 
> > dns_zone_load: zone e.d.a.c.0.0.0.0.e.d.e.f.0.c.e.f.IP6.arpa/IN: could not fi
> > nd NS and/or SOA records
> > and thus also: has 0 SOA records
> > 
> > after these errors it does indeed run and using host -t A6 hostname i get the
> >  correct replies (also with -t AAAA).
> > but reverse doesnt work (..not found: 2(SERVFAIL))
> > 
> > otherwise it seems to work.
> > 
> > any help appreciated,
> > fred
> > 
> > below are my config files in entirety...
> > 
> > 
> > /etc/named.conf:
> > options {
> >         directory "/var/named";
> >         pid-file "/var/run/named.pid";
> >         listen-on {
> >                 fec0:fede:0:cafe:200:b4ff:fec2:f218 ;
> >                 any ;
> >         };
> >         auth-nxdomain yes;
> >         allow-query { any; };
> > };
> > 
> > 
> > 
> > zone "ipv6.company.com" {
> >         type master;
> >         file "/var/named/ipv6.company.com";
> >         };
> > 
> > zone "e.d.a.c.0.0.0.0.e.d.e.f.0.c.e.f.IP6.INT" {
> >         type master;
> >         file "/var/named/fec0:fede:0:cade.ip6.int";
> > };
> > 
> > zone "e.d.a.c.0.0.0.0.e.d.e.f.0.c.e.f.IP6.arpa" {
> >         type master;
> >         file "/var/named/fec0:fede:0:cade.ip6.arpa";
> > };
> > 
> > /var/named/ipv6.company.com:
> > $TTL    38400
> > $ORIGIN ipv6.company.com.
> > @       IN      SOA     ns.ipv6.company.com. root.ns.ipv6.company.com. (
> >                         2000000000      ;
> >                         10800           ;
> >                         1800            ;
> >                         864000          ;
> >                         86400 )         ;
> >                 NS      ns.ipv6.company.com.
> >                 MX      10 mail.ipv6.company.com.
> > localhost       A       127.0.0.1
> >                 AAAA    0000:0000:0000:0000:0000:0000:0000:0001
> > ipv6-localhost  CNAME   localhost
> > unassigned      AAAA    0000:0000:0000:0000:0000:0000:0000:0000
> > ipv6-unassigned CNAME   unassigned
> > 
> > fede            A       192.168.xxx.xxx
> > fede            AAAA    fec0:fede:0000:cade:0200:b4ff:fec2:f218
> > fede            A6      0 fec0:fede:0000:cade:0200:b4ff:fec2:f218
> > mail            A       192.168.xxx.xxx
> > mail            AAAA    fec0:fede:0000:cade:0200:b4ff:fec2:f218
> > mail            A6      0 fec0:fede:0000:cade:0200:b4ff:fec2:f218
> > ns              A       192.168.xxx.xxx
> > ns              AAAA    fec0:fede:0000:cade:0200:b4ff:fec2:f218
> > ns              A6      0 fec0:fede:0000:cade:0200:b4ff:fec2:f218
> > kimmo           A       192.168.xxx.xxx
> > kimmo           AAAA    fec0:fede:0000:cade:02a0:d2ff:fea5:bc24
> > kimmo           A6      0 fec0:fede:0000:cade:02a0:d2ff:fea5:bc24
> > 
> > /var/named/fec0:fede:0:cade.ip6.int:
> > $TTL    38400
> > $ORIGIN e.d.a.c.0.0.0.0.e.d.e.f.0.c.e.f.IP6.INT.
> > @               IN      SOA     ns.ipv6.company.com.      root.ipv6.company.c
> > om. (
> >                                 2000000000      ;
> >                                 10800           ;
> >                                 1800            ;
> >                                 864000          ;
> >                                 86400 )         ;
> >                 IN      NS      ns.ipv6.company.com.
> > 
> > 8.1.2.f.2.c.e.f.f.f.4.b.0.0.2.0         IN PTR  fede.ipv6.company.com.
> > 8.1.2.f.2.c.e.f.f.f.4.b.0.0.2.0         IN PTR  mail.ipv6.company.com.
> > 8.1.2.f.2.c.e.f.f.f.4.b.0.0.2.0         IN PTR  ns.ipv6.company.com.
> > 4.2.c.b.5.a.e.f.f.f.2.d.0.a.2.0         IN PTR  kimmo.ipv6.company.com.
> > 
> > 
> > /var/named/fec0:fede:0:cade.ip6.arpa:
> > $TTL    38400
> > $ORIGIN \[xfec0fede0000cade/64].ip6.arpa.
> > @               IN      SOA     ns.ipv6.company.com.    root.ipv6.company.com
> > . (
> >                                 2000000000      ;
> >                                 10800           ;
> >                                 1800            ;
> >                                 864000          ;
> >                                 86400 )         ;
> >                 IN      NS      ns.ipv6.company.com.
> > 
> > \[x0200b4fffec2f218/64]         IN      PTR     fede.ipv6.company.com.
> > \[x0200b4fffec2f218/64]         IN      PTR     mail.ipv6.company.com.
> > \[x0200b4fffec2f218/64]         IN      PTR     ns.ipv6.company.com.
> > \[x02a0d2fffea5bc24/64]         IN      PTR     kimmo.ipv6.company.com.
> > 
> > 
> > 
> --
> Mark Andrews, Nominum Inc.
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com
> 
> 




More information about the bind-users mailing list