Automatic dns
Shadow Hawkins on Wednesday, 07 November 2007 16:38:01
Is it possible to get a dns server(bind9?) to auto generate forward/reverse zones for an /64? Something like cl-471.inet6.example.com? Instead of adding each computer that recives an address from radvd?
Automatic dns
Jeroen Massar on Wednesday, 07 November 2007 17:28:24
Yes, there are a couple of methods.
See amongst others:
http://en.wikipedia.org/wiki/DDNS
http://www.ops.ietf.org/dns/dynupd/secure-ddns-howto.html
http://support.microsoft.com/kb/816592
or google(Dynamic DNS Update)
It depends on how much control you have over the server components.
You can also install a auto-generating DNS Server of course, but that would give random names. DDNS (Dynamic DNS) is thus the way to go in most cases.
Automatic dns
Shadow Hawkins on Wednesday, 07 November 2007 22:58:54
Thanks Jeroen, I'll check out the links!
Automatic dns
Shadow Hawkins on Thursday, 08 November 2007 02:33:19
Correct me if I'm wrong, but won't I have to install a dhcpd(6) and dhclients on all my network computers? It seems radvd doesn't support DDNS.
What I'm really looking for is something for my bind that could generate a respons from the ipv6-address that's being looked up. So I won't have to generate records for the whole /64. I'm guessing that would take up a huge amount of disk space.
Automatic dns
Shadow Hawkins on Thursday, 08 November 2007 17:47:58
Benedikt Stockebrand wrote up some scripts and such for scenarios such as this.
http://www.benedikt-stockebrand.de/hacks_e.html
Automatic dns
Shadow Hawkins on Tuesday, 22 January 2008 10:53:16
I tryed using a GENERATE zone file directive on Bind9 but if it's ok for IPv4 PTR generation, it lacks enough flexibility to generate more than 256 IPv6 PTR records.
Automatic dns
Shadow Hawkins on Tuesday, 22 January 2008 11:54:08
I wonder what you want GENERATE to do? Do you want to create a zone with all possible eui-64 combinations? That would be a large zone....
Automatic dns
Shadow Hawkins on Friday, 25 January 2008 16:05:50
I'd like it to generate default PTR records for all possible IPv6 from the subnet unless there are another one specified.
It should not reside on a zone file or database but beying computed uppon request. Having all this loaded from disk or RAM is sure impracticable.
A computeriezd PTR answer is what I need.
I thought every IP should have a valid reverse name, but I maye be wrong on this.
Automatic dns
Shadow Hawkins on Saturday, 26 January 2008 14:29:32
You can try to use wildcards.
Check how should be done in this post:
http://fixunix.com/dns/52974-re-wildcards-reverse-dns.html
Roque
Automatic dns
Shadow Hawkins on Saturday, 26 January 2008 20:54:50
I also thought about wildcards, but I couldn't find any reasonable way to do a matching reverse/forward pair. And what's the use of a dummy reverse without the matching forward entry? You do just as well without anything in DNS at all....
Automatic dns
Jeroen Massar on Tuesday, 29 January 2008 15:22:16
The solution to this is to setup a DNS server which hands out random/generated addresses. One could eg use a PowerDNS with a custom backend for this.
Automatic dns
Shadow Hawkins on Tuesday, 29 January 2008 22:01:10
The pdns suggestion is one I was thinking of as well. And I must admit I only started to look into pdns last saterday and by the end of the weekend my first server was converted from bind to pdns.
If you are long term bind user there are a few things to watch out for with pdns because you have to get used to the way of using fqdn's a lot more then one might have been used to.
Hugo.
Posting is only allowed when you are logged in. |