Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DNSTABLE_DUMP(1)					      DNSTABLE_DUMP(1)

NAME
       dnstable_dump - dump dnstable data file to text or JSON

SYNOPSIS
       dnstable_dump [--raw] [--json] --rrset filename

       dnstable_dump [--raw] [--json] --rdata filename

DESCRIPTION
       Dumps a dnstable	data file to stdout, either in an ad-hoc text format
       (the default), or in JSON format. Specifying one	of --rrset or --rdata
       is required in order to select which section of the data	file to	dump.

OPTIONS
       -R, --raw
	   When	using JSON format for --rdata_full output, add a hex
	   representation of the raw rdata.

       -j, --json
	   Use JSON format for output. One JSON-formatted entry	per line will
	   be printed.

       -r, --rrset_full
	   Dump	the full RRset section of the data file	from ENTRY_TYPE_RRSET
	   records.

       -d, --rdata_full
	   Dump	the full Rdata section of the data file	from ENTRY_TYPE_RDATA
	   records.

       --rrset_names
	   Dump	the rrset names	from ENTRY_TYPE_RRSET_NAME_FWD records.

       --rdata_names
	   Dump	the rdata names	from ENTRY_TYPE_RDATA_NAME_REV records.

       -t, --time_range
	   Output time range metadata from ENTRY_TYPE_TIME_RANGE records.

       -s, --source_info_entries
	   Output source metadata from ENTRY_TYPE_SOURCE_INFO records.

       -v, --version_entries
	   Output version metadata from	ENTRY_TYPE_VERSION records.

EXAMPLES
       $ dnstable_dump -R -j -d	/path/to/dns.mtbl

       $ dnstable_dump -r /path/to/dns.mtbl

       $ dnstable_dump --rdata_names /path/to/dns.mtbl

				  08/06/2021		      DNSTABLE_DUMP(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=dnstable_dump&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>

home | help