chiark / gitweb /
zoneconf
12 years agozoneconf.in: More master-map hacking: !ADDR means ADDR!ADDR.
Mark Wooding [Wed, 14 Mar 2012 11:16:39 +0000 (11:16 +0000)]
zoneconf.in: More master-map hacking: !ADDR means ADDR!ADDR.

i.e., use ADDR as the master address, but never consider it local.

12 years agozoneconf: Awful kludge in `primary': masters never considered local.
Mark Wooding [Tue, 13 Mar 2012 16:17:28 +0000 (16:17 +0000)]
zoneconf: Awful kludge in `primary': masters never considered local.

A master address containing `!' is never considered to be local:
the address to the left is used by remote hosts; the address to the
right is used by local ones.

12 years agozoneconf.in: Fix the resign interval.
Mark Wooding [Thu, 1 Mar 2012 15:51:26 +0000 (15:51 +0000)]
zoneconf.in: Fix the resign interval.

The default is not to resign records if there's more than a quarter of
their lives left to live.  But that's about 12 hours, and there's no
guarantee they'll be resigned in less than 24 hours.  Require an extra
hour for slack.

12 years agozoneconf.in: Tidy up some message output.
Mark Wooding [Sat, 11 Feb 2012 14:47:38 +0000 (14:47 +0000)]
zoneconf.in: Tidy up some message output.

12 years agozoneconf.in: Don't sign zones if they're not meant to be signed.
Mark Wooding [Sat, 11 Feb 2012 14:47:01 +0000 (14:47 +0000)]
zoneconf.in: Don't sign zones if they're not meant to be signed.

12 years agozoneconf.in: Auto-DNSsec support for dynamic zones.
Mark Wooding [Sat, 11 Feb 2012 14:46:13 +0000 (14:46 +0000)]
zoneconf.in: Auto-DNSsec support for dynamic zones.

12 years agozoneconf.in: Executable, to match other scripts.
Mark Wooding [Sat, 11 Feb 2012 14:42:40 +0000 (14:42 +0000)]
zoneconf.in: Executable, to match other scripts.

12 years agozoneconf-install-*: Find `zoneconf' in the correct place.
Mark Wooding [Sat, 11 Feb 2012 14:39:46 +0000 (14:39 +0000)]
zoneconf-install-*: Find `zoneconf' in the correct place.

This means we have to substitute in them, so the Makefile hacking is
more significant than the actual code change.

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.