Bind 9.2.3 and ipv6
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Mon Jan 12 20:52:24 UTC 2004
> Having a few problems, I've got an ipv6 /48 prefix, and I set it up as per
> the instructions at: http://www.freenet6.net/reverse-dns.shtml
>
> My problem is thus that it returns the authority section fine, but no PTR. I
> have the same problem on two servers, with identical setups (except of
> course for the difference in ips/domains etc)
>
> Any Help would be appreciated.
>
> Below is /etc/named.conf:
>
> options {
> directory "/var/named";
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
>
> listen-on {
> 213.105.122.94;
> };
> listen-on {
> 192.168.1.1;
> };
> listen-on {
> 127.0.0.1;
> };
> listen-on-v6 {
> ::1;
> };
> };
>
> //
> // a caching only nameserver config
> //
> zone "." IN {
> type hint;
> file "caching-example/named.ca";
> };
>
> zone "localhost" IN {
> type master;
> file "caching-example/localhost.zone";
> allow-update { none; };
> };
>
> zone "0.0.127.in-addr.arpa" IN {
> type master;
> file "caching-example/named.local";
> allow-update { none; };
> };
>
> zone "5.e.7.0.0.c.b.0.e.f.f.3.ip6.int" {
> type master;
> file "reverse-3ffe-0bc0-07e5.ip6.int";
> };
>
> ----------
> and the reverse file reverse-3ffe-0bc0-07e5.ip6.int:
> $TTL 3D
> @ IN SOA ipv6.robertanderson.me.uk.
> postmaster.robertanderson.me.uk. (
>
> 2004011101 ; serial
>
> 3H ; refresh
>
> 15M ; retry
>
> 1W ; expiry
>
> 1D ) ; mininum
>
> IN NS xcrement.no-ip.org.
>
> ;
>
> ;----------------------------------------,
>
> ; network part /64 | Host part 64 bits |
>
> ;--------------------|-------------------'
>
> ; 3ffe:0bc0:07e5:0001:0000:0000:0000:0001
>
> ; -------------------------------,
>
> ; Your Network| Your prefix (48 bits) |
>
> ; -------|-------|-------|-------|
>
> $ORIGIN 1.0.0.0.5.e.7.0.0.c.b.0.e.f.f.3.ip6.int.
>
> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR ipv6.drunken-dwarf.co.uk.
>
>
> ; End of zone
>
> -------
> Output from dig
> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.5.e.7.0.0.c.b.0.e.f.f.3.ip6.int ptr:
>
> ; <<>> DiG 9.2.3 <<>>
> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.5.e.7.0.0.c.b.0.e.f.f.3.ip6.int ptr
Didn't you want the following?
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.5.e.7.0.0.c.b.0.e.f.f.3.ip6.int
(dig -i -x 3ffe:0bc0:07e5:0001:0000:0000:0000:0001)
Also IP6.INT is deprecated. Please use IP6.ARPA. You can use a DNAME
to supply answers to the legacy clients.
e.g.
5.e.7.0.0.c.b.0.e.f.f.3.ip6.int. SOA ...
5.e.7.0.0.c.b.0.e.f.f.3.ip6.int. NS ...
5.e.7.0.0.c.b.0.e.f.f.3.ip6.int. DNAME 5.e.7.0.0.c.b.0.e.f.f.3.ip6.arpa.
Mark
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 49626
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.5.e.7.0.0.c.b.0.e.f.f.3.ip6.int. IN PTR
>
> ;; AUTHORITY SECTION:
> 5.e.7.0.0.c.b.0.e.f.f.3.ip6.int. 8706 IN SOA ipv6.robertanderson.me.uk.
> postmaster.robertanderson.me.uk. 2004011101 10800 900 604800 86400
>
> ;; Query time: 21 msec
> ;; SERVER: 194.168.8.100#53(194.168.8.100)
> ;; WHEN: Sun Jan 11 08:47:36 2004
> ;; MSG SIZE rcvd: 153
>
>
>
>
--
Mark Andrews, ISC
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