[hipl-users] Re: oqo4.mobile.htt-consult.com available as IPv6 mobile responder

  • From: Oleg Ponomarev <oleg.ponomarev@xxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Thu, 23 Apr 2009 16:24:16 +0300 (EEST)

Hi! On Thu, 23 Apr 2009, Robert Moskowitz wrote:

I run my own DNS for my testbed. Is there a way I can point my nameserver to specifically go to your server for 1.0.0.1.0.0.2.ip6.arpa? Something like the HINTS file for the root servers?

Sure, this lines in /etc/named.conf of BIND would help:

# ORCHIDs
zone "1.0.0.1.0.0.2.ip6.arpa" IN {
                type slave;
                file "slaves/1.0.0.1.0.0.2.ip6.arpa";
                masters { 193.167.187.149; 2001:708:140:220::16; };
};


The PTR can be added manually:

# /usr/local/sbin/hipconf add server rvs 
2001:001a:2a72:f01c:d98e:311c:c76a:57c4 2001:708:140:220::16 3600

just to trigger the Base Exchange, then

$ cat > nsupdate.txt
server 2001:1a:2a72:f01c:d98e:311c:c76a:57c4
local 2001:1e:574e:2505:264a:b360:d8cc:1d75
update delete 
5.7.d.1.c.c.8.d.0.6.3.b.a.4.6.2.5.0.5.2.e.4.7.5.e.1.0.0.1.0.0.2.ip6.arpa. PTR
update add 
5.7.d.1.c.c.8.d.0.6.3.b.a.4.6.2.5.0.5.2.e.4.7.5.e.1.0.0.1.0.0.2.ip6.arpa. 86400 
PTR stargazer-hit.pc.infrahip.net.
send
$ nsupdate -d < nsupdate.txt

or HIPL manages it automatically if you have "nsupdate on" in 
/etc/hip/hipd_config


I would have to allow recursion for it, I think?

No, you only need recursion allowed to your local network. You should not actually get any queries for this zone from outside.

- Regards, Oleg.


Other related posts: