Automatic dns
![]()
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
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
![]()
Thanks Jeroen, I'll check out the links!
Automatic dns
![]()
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
![]()
Benedikt Stockebrand wrote up some scripts and such for scenarios such as this.
http://www.benedikt-stockebrand.de/hacks_e.html
Automatic dns
![]()
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
![]()
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
![]()
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
![]()
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
![]()
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
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
![]()
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.
|