DNSの反復検索がどのように行われるかを見るためのツールです. 適当に勉強用に作ってます
$ go build
$ ./RecResolve
RNAME:
RecResolve - It is a tool to see Iterative Search of the DNS is how to.
USAGE:
RecResolve [global options] command [command options] [arguments...]
VERSION:
0.0.4
COMMANDS:
rec, r Iterative Search
norec, n No Iterative Search
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--root "202.12.27.33" Root DNS Server's IP address
--debug Debug Option for Developer [$false]
--fool Believe something like flue record [$false]
--help, -h show help
--version, -v print the versionecResolve
$ ./RecResolve rec www.amazon.co.jp
202.12.27.33=>
jp. -> b.dns.jp.
203.119.40.1=>
amazon.co.jp. -> ns2.p31.dynect.net.
202.12.27.33=>
net. -> j.gtld-servers.net.
192.48.79.30=>
dynect.net. -> ns4.dynamicnetworkservices.net.
202.12.27.33=>
net. -> c.gtld-servers.net.
192.26.92.30=>
dynamicnetworkservices.net. -> ns4.dynamicnetworkservices.net.
Answer : 204.13.251.100=>
ns4.dynamicnetworkservices.net. -> 204.13.251.100
Answer : 204.13.251.100=>
ns2.p31.dynect.net. -> 204.13.250.31
204.13.250.31=>
www.amazon.co.jp. -> ns-1705.awsdns-21.co.uk.
202.12.27.33=>
uk. -> dns1.nic.uk.
156.154.101.3=>
awsdns-21.co.uk. -> g-ns-1496.awsdns-21.co.uk.
Answer : 205.251.197.216=>
ns-1705.awsdns-21.co.uk. -> 205.251.198.169
Answer : 205.251.198.169=>
www.amazon.co.jp -> 54.240.248.0