Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 418 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 418 Bytes

Tool for parsing dns records

Changes

  • removed '6' option

  • added 'dns-type' options (default - dnsTypeA)

    • dnsTypeA = 1
    • dnsTypeNS = 2
    • dnsTypeMX = 15
    • dnsTypeTXT = 16
    • dnsTypeAAAA = 28

Usage example

go build; ./dnsparser -v --dns-type=1 < ./input.txt > ./output.txt

input.txt - file with domain per line