ezgh dns zones export <zone>Print a zone’s records as a complete BIND zone file: $ORIGIN, the zone’s SOA and own NS, then every record by its absolute name. ezgh dns records import reads it back, leaving out the SOA and NS, which are managed for you. With -o json or yaml, it’s the zone file in a field.
Part of ezgh dns zones.
Flags
This command also takes the global flags.