From: Michael Orlitzky Date: Tue, 20 Oct 2020 22:20:05 +0000 (-0400) Subject: README: whitespace cleanup. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=288bef06cc018832685adaf9a7d48e4eeeb99df4;p=valtz.git README: whitespace cleanup. --- diff --git a/README b/README index 59b833e..508878d 100644 --- a/README +++ b/README @@ -1,5 +1,4 @@ - -valtz 0.7, ; (C) 2003 Magnus Bodin, http://x42.com/software/ +valtz 0.7, ; (C) 2003 Magnus Bodin, http://x42.com/software/ ============================================================ Validation tool for tinydns-data zone files. @@ -22,7 +21,7 @@ General usage: -f filter (don't just validate) file and output accepted lines to STDOUT. - + -F treat files as filter configuration files for more advanced filtering. These filterfiles one or several of the following filter directives: @@ -54,27 +53,27 @@ General usage: Multiple zonefile, allow- and deny-lines are allowed, but also the alternative file:-line that points to a textfile containing one value per line. - - + + -r allows fqdn to be empty thus denoting the root. This is also allowed per default when doing implict allow - see deny, or when specifying 'allow .', i.e. explictly allowing root as such. (cannot be combined with deny) - + -R relaxes the validation and allows empty mname and p-fields.xi This is probably not very useful. - + -i allows the ip-fields to be empty as well. These will then not generate any records. -I Include rejected lines as comments in output (valid when filtering). - + -q Do not echo valid lines to STDOUT. - + -s DO NOT ignore files ending with ,v ~ .bak .log .old .swp .tmp which is done per default. @@ -99,27 +98,27 @@ All errors in the zonefiles are sent to STDERR. valtz zone-bodin-org Example; simple filter-use; - valtz -f /etc/zones/zone-* - >/etc/tinydns/data.filtered + valtz -f /etc/zones/zone-* + >/etc/tinydns/data.filtered 2>/var/log/tinydns/valtz.log Example; filterfile use; - valtz -F /etc/zones/filter/zones-otto - >/etc/tinydns/data.otto + valtz -F /etc/zones/filter/zones-otto + >/etc/tinydns/data.otto 2>/var/log/tinydns/valtz.log - + Example filterfile for using as import from primary (as above): zonefile /var/zones/external/otto/zone-* deny bodin.org deny x42.com - extralog /var/log/tinydns/external-otto.log + extralog /var/log/tinydns/external-otto.log Example #2, strict filter for a certain user editing just A-records zonefile /home/felix/zones/zone-fl3x-net allow fl3x.net - allowtype + + allowtype + extralog /var/log/tinydns/fl3x-net.log Example #3, export filter to secondary @@ -132,7 +131,7 @@ All errors in the zonefiles are sent to STDERR. extralog /var/log/tinydns/primary-export.log Example #4, /etc/zones/minimalistic-filterfile - + deny file:/etc/zones/primary-zones.txt allowtype Z + @ . C @@ -147,7 +146,7 @@ All errors in the zonefiles are sent to STDERR. Please mail comments and errors and general feedback to . -Thanks to +Thanks to * Paul Jarc * Otto Dandenell