1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

fix get-zones code block indentation (#769)

This commit is contained in:
Ben
2020-06-20 01:33:35 +10:00
committed by GitHub
parent ff8ce26cee
commit 44bd4206e8

View File

@@ -63,26 +63,27 @@ zones at the provider.
--out value Instead of stdout, write to this file --out value Instead of stdout, write to this file
--ttl value Default TTL (0 picks the zone's most common TTL) (default: 0) --ttl value Default TTL (0 picks the zone's most common TTL) (default: 0)
ARGUMENTS: ARGUMENTS:
credkey: The name used in creds.json (first parameter to NewDnsProvider() in dnsconfig.js) credkey: The name used in creds.json (first parameter to NewDnsProvider() in dnsconfig.js)
provider: The name of the provider (second parameter to NewDnsProvider() in dnsconfig.js) provider: The name of the provider (second parameter to NewDnsProvider() in dnsconfig.js)
zone: One or more zones (domains) to download; or "all". zone: One or more zones (domains) to download; or "all".
FORMATS: FORMATS:
--format=js dnsconfig.js format (not perfect, just a decent first draft) --format=js dnsconfig.js format (not perfect, just a decent first draft)
--format=djs js with disco commas (leading commas) --format=djs js with disco commas (leading commas)
--format=zone BIND zonefile format --format=zone BIND zonefile format
--format=tsv TAB separated value (useful for AWK) --format=tsv TAB separated value (useful for AWK)
--format=nameonly Just print the zone names --format=nameonly Just print the zone names
The columns in --format=tsv are: The columns in `--format=tsv` are:
FQDN (the label with the domain) FQDN (the label with the domain)
ShortName (just the label, "@" if it is the naked domain) ShortName (just the label, "@" if it is the naked domain)
TTL TTL
Record Type (A, AAAA, CNAME, etc.) Record Type (A, AAAA, CNAME, etc.)
Target and arguments (quoted like in a zonefile) Target and arguments (quoted like in a zonefile)
The --ttl flag only applies to zone/js/djs formats. The `--ttl` flag only applies to zone/js/djs formats.
## Examples ## Examples