dns relative tools like lookup or wireformat converter
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Antoine 46fd83b798
remove redondant variable declaration
il y a 1 an
bin Add wireformat binary for format dns ask answer il y a 1 an
cmd remove redondant variable declaration il y a 1 an
internal use internal check function for error checking il y a 1 an
.gitignore Add wireformat binary for format dns ask answer il y a 1 an
LICENSE Initial commit il y a 1 an
Makefile feat : add http dns resolver with cloudflare il y a 1 an
go.mod use internal check function for error checking il y a 1 an
go.sum Add wireformat binary for format dns ask answer il y a 1 an
readme.md feat : add http dns resolver with cloudflare il y a 1 an

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 -