chiark / gitweb /
zoneconf
12 years agoMajor overhaul. 1.0.0
Mark Wooding [Wed, 7 Dec 2011 01:46:02 +0000 (01:46 +0000)]
Major overhaul.

Turn this mess into a proper installable package.  Fixes various bugs
along the way.

12 years agobin/zoneconf: Reload zones after signing them.
Mark Wooding [Sun, 4 Dec 2011 22:00:27 +0000 (22:00 +0000)]
bin/zoneconf: Reload zones after signing them.

There are some other changes, too.

  * Move the program-running, output printing logic into `build-program'
    (rename it `run') because it's in too many places.

  * Avoid resigning a zone if we've done it already.

12 years agobin/zoneconf: Support for signed zones.
Mark Wooding [Sat, 3 Dec 2011 19:28:42 +0000 (19:28 +0000)]
bin/zoneconf: Support for signed zones.

Specify whether zones want signing, and in which views.  Something of
a major overhaul.

12 years agobin/zoneconf: Abstract out command substitution machinery.
Mark Wooding [Sat, 3 Dec 2011 19:26:48 +0000 (19:26 +0000)]
bin/zoneconf: Abstract out command substitution machinery.

12 years agobin/zoneconf: Write a reminder about how the various views work.
Mark Wooding [Sat, 3 Dec 2011 19:24:10 +0000 (19:24 +0000)]
bin/zoneconf: Write a reminder about how the various views work.

I keep forgetting.

12 years agobin/zoneconf: Fix preserving-config.
Mark Wooding [Sat, 3 Dec 2011 19:23:27 +0000 (19:23 +0000)]
bin/zoneconf: Fix preserving-config.

It didn't actually preserve anything: wrong upvar level.

12 years agobin/zoneconf: Fix merge-lists.
Mark Wooding [Sat, 3 Dec 2011 19:22:00 +0000 (19:22 +0000)]
bin/zoneconf: Fix merge-lists.

  * Don't remove a candidate which is first in multiple lists.

  * Actually use the pruned list.

12 years agobin/zoneconf: Close the output config files at the right time.
Mark Wooding [Mon, 29 Aug 2011 16:18:58 +0000 (17:18 +0100)]
bin/zoneconf: Close the output config files at the right time.

Otherwise they're still empty when we kick the nameserver.

12 years ago.userv/rc: Use the correct program for the `install' service.
Mark Wooding [Mon, 29 Aug 2011 13:26:52 +0000 (14:26 +0100)]
.userv/rc: Use the correct program for the `install' service.

12 years agozoneconf: Program for managing multi-viewed DNS configurations.
Mark Wooding [Fri, 5 Aug 2011 22:54:19 +0000 (23:54 +0100)]
zoneconf: Program for managing multi-viewed DNS configurations.

I'm sure I had another Git repository of this somewhere, but I'm blowed
if I can find it anywhere.  Oh, well: I don't think there was much
interesting history in it anyway.