dns relative tools like lookup or wireformat converter
Go to file
Antoine 967b604bba
use internal check function for error checking
2020-11-09 03:08:22 +01:00
bin Add wireformat binary for format dns ask answer 2020-11-09 00:12:15 +01:00
cmd/wireformat use internal check function for error checking 2020-11-09 03:08:22 +01:00
internal use internal check function for error checking 2020-11-09 03:08:22 +01:00
.gitignore Add wireformat binary for format dns ask answer 2020-11-09 00:12:15 +01:00
LICENSE Initial commit 2020-11-08 18:06:09 +00:00
Makefile Add wireformat binary for format dns ask answer 2020-11-09 00:12:15 +01:00
go.mod use internal check function for error checking 2020-11-09 03:08:22 +01:00
go.sum Add wireformat binary for format dns ask answer 2020-11-09 00:12:15 +01:00
readme.md add wireformat question creation from string or stdin 2020-11-09 02:18:51 +01:00

readme.md

dns-tools

dns relative tools like lookup or wireformat converter

build

make wireformat

run

With get resolution

echo -n 'q80BAAABAAAAAAAAA3d3dwdleGFtcGxlA2NvbQAAAQAB' | base64 -d | curl -sH 'content-type: application/dns-message' --data-binary @- https://cloudflare-dns.com/dns-query -o - | ./bin/wireformat -f -

With post resolution

curl -s -H accept: application/dns-message https://cloudflare-dns.com/dns-query?dns=q80BAAABAAAAAAAAA3d3dwdleGFtcGxlA2NvbQAAAQAB | ./bin/wireformat -f -

Wireformat encode and decode

./bin/wireformat -s 'www.example.com' | ./bin/wireformat -f -

echo 'www.example.com' | ./bin/wireformat | ./bin/wireformat -f -