/sbin/dnsconf --deldomain domain
Further, unknown directives (Unmanaged by Linuxconf) are properly stored and rewritten back. I hope that this module will finally please all bind8 users... Check it out!
More work is needed on the user interface side though.
In the future, you should be able to
/sbin/dnsconf --delsecondary domain
which ... does what it does :-)
The listen-on global option directive was not parsed properly when the optional port was specified.
Include file may be organized arbitrarily. Rewriting them exactly is not an easy job.
(ed. note: A little note. 1.20r1 has a glitch there, do not use it for dns. Use 1.20r2)
Now, when you create a new domain, it will copy many settings from the template zone if defined. This affect the interactive and command line mode.
The following command line still work:
/sbin/dnsconf --newdomain new_domain template_domain
but if you omit the template_domain argument, then the one specified in the features dialog will be used. This should ease your work a bit.
Now a zone is updated only if it was changed.
For example, if you have the sub-net 192.168.1.64/25220.127.116.11 you would enter:
Network number: 192.168.1 Subnet x/y : 64/26
The zone created will be called 64/18.104.22.168.in-addr.arpa. The owner of the zone 1.168.192.in-addr.arpa will have to set a bunch of cnames to point his DNS to yours.
When you create a new reverse zone, you can enter a range using the x-y syntax. that's it. From now on, Linuxconf will update the the zone if the IP number fits in that range. The zone will be named
for a a.b.c network.
/sbin/vregistry --set primary.ns1.some_domain ns1.foo.com
Or you can change major updates using little scripting
for domain in `vregistry --getvalue primary.domains` do /sbin/vregistry --set primary.ns1.$domain ns1.foo.com done
The module had already extensive command lines. But the virtual registry offers a fine grain approach allowing you to setup more stuff from the command line. Here are few example:
/sbin/vregistry --getvalue primary.domains
/sbin/vregistry --set primary.domain.toto1.com toto1.com \
primary.adminemail.toto1.com firstname.lastname@example.org \
primary.ns1.toto1.com 192.168.1.2 \
primary.ns2.toto1.com 192.168.1.3 \