asking ipv6
Chris Buxton
cbuxton at menandmice.com
Wed Feb 6 19:03:49 UTC 2008
To quickly see the name of your PTR record, use 'dig -x ip-addr',
replacing 'ip-addr' with the address in question, then examine the
Question section of the result. For example (continuing with Niall's
address):
$ dig -x 2001:770:98:200::35:1
;; QUESTION SECTION:
;
1.0.0.0.5.3.0.0.0.0.0.0.0.0.0.0.0.0.2.0.8.9.0.0.0.7.7.0.1.0.0.2
.ip6.arpa. IN PTR
The next question, of course, is regarding the name of the zone that
would contain such a PTR record. Make sure that you check the
delegation to see what's given to you, and then create that zone. For
example:
$ dig -x 2001:770:98:200::35:1 +trace
The last section before the "answer" shows the delegation (or would,
if there wasn't a DNAME record involved...):
0.7.7.0.1.0.0.2.ip6.arpa. 172800 IN NS ns2.kerna.ie.
0.7.7.0.1.0.0.2.ip6.arpa. 172800 IN NS ns.ripe.net.
0.7.7.0.1.0.0.2.ip6.arpa. 172800 IN NS ns.heanet.ie.
;; Received 165 bytes from 202.12.28.140#53(sec3.apnic.net) in 287 ms
In this case, actually, a further domain name is then DNAME'd to
something directly under Niall's control, as he indicated:
8.9.0.0.0.7.7.0.1.0.0.2.ip6.arpa. 86400 IN DNAME
8.9.0.0.0.7.7.0.1.0.0.2.ip6.ucd.ie.
If they had simply delegated that name, instead of DNAME'ing it, he
would have created zone named "8.9.0.0.0.7.7.0.1.0.0.2.ip6.arpa.".
In your case, if you don't see your name servers anywhere in the
"+trace" output, then there's nothing delegated to you (yet). In which
case, talk to whoever assigned the IPv6 subnet to you about getting
control of your own reverse zone.
Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone: +354 412 1500
Email: cbuxton at menandmice.com
www.menandmice.com
Men & Mice
We bring control and flexibility to network management
This e-mail and its attachments may contain confidential and
privileged information only intended for the person or entity to which
it is addressed. If the reader of this message is not the intended
recipient, you are hereby notified that any retention, dissemination,
distribution or copy of this e-mail is strictly prohibited. If you
have received this e-mail in error, please notify us immediately by
reply e-mail and immediately delete this message and all its attachment.
On Feb 6, 2008, at 8:02 AM, Niall O'Reilly wrote:
> On 6 Feb 2008, at 15:32, Rito wrote:
>
>> anyway could you show me how to add it? is it like we add ptr in
>> ipv4?
>
> Nearly.
> It goes under ip6.arpa, and is much longer, of course.
> Don't forget to fill zeroes where needed!
>
> Here's an example.
> We alias everything below 8.9.0.0.0.7.7.0.1.0.0.2.ip6.arpa
> into a local zone; you don't need to do that.
>
> seahan(noreilly)22: dig +short aaaa auth-ns1.ucd.ie
> 2001:770:98:200::35:1
> seahan(noreilly)23: dig +short ptr
> 1.0.0.0.5.3.0.0.0.0.2.2.8.9.0.0.0.7.7.0.1.0.0.2.ip6.arpa
> 8.9.0.0.0.7.7.0.1.0.0.2.ip6.ucd.ie.
> 1.0.0.0.5.3.0.0.0.0.2.2.8.9.0.0.0.7.7.0.1.0.0.2.ip6.ucd.ie.
> seahan(noreilly)24:
>
>
> Best regards,
>
> Niall O'Reilly
> University College Dublin IT Services
>
> PGP key ID: AE995ED9 (see www.pgp.net)
> Fingerprint: 23DC C6DE 8874 2432 2BE0 3905 7987 E48D AE99 5ED9
>
>
>
>
>
>
More information about the bind-users
mailing list