Documentation
¶
Overview ¶
Package parser is a package for parsing massdns output format. Massdns writes output in a dig style format containing complete information about the resolved names.
Only a subset of information, more specifically Name and IP address is parsed from the output. It correctly handles CNAME record entries outputting the first name and the subsequent A records. NS records are ignored in the current implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFile ¶ added in v1.1.0
func ParseFile(filename string, onResult OnResultFN) error
func ParseReader ¶ added in v1.1.0
func ParseReader(reader io.Reader, onResult OnResultFN) error
Parse parses the massdns output returning the found domain and ip pair to a onResult function.
Types ¶
type OnResultFN ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.