dns relative tools like lookup or wireformat converter
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Antoine 46fd83b798
remove redondant variable declaration
pirms 5 mēnešiem
bin Add wireformat binary for format dns ask answer pirms 5 mēnešiem
cmd remove redondant variable declaration pirms 5 mēnešiem
internal use internal check function for error checking pirms 5 mēnešiem
.gitignore Add wireformat binary for format dns ask answer pirms 5 mēnešiem
LICENSE Initial commit pirms 5 mēnešiem
Makefile feat : add http dns resolver with cloudflare pirms 5 mēnešiem
go.mod use internal check function for error checking pirms 5 mēnešiem
go.sum Add wireformat binary for format dns ask answer pirms 5 mēnešiem
readme.md feat : add http dns resolver with cloudflare pirms 5 mēnešiem

readme.md

dns-tools

dns relative tools like lookup or wireformat converter

build

make wireformat
make http-resolver 

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 -

Dns query and wireformat encode/decode

echo 'www.google.com' | ./bin/wireformat -s - | ./bin/http-resolver | ./bin/wireformat -f -