NLnetLabs / dnsi

A tool to investigate the DNS.
BSD 3-Clause "New" or "Revised" License
46 stars 3 forks source link

Initial lookup command #10

Closed tertsdiepraam closed 4 months ago

tertsdiepraam commented 4 months ago

Some example output:

> dnsi lookup nlnetlabs.nl google.com blablablablabla.bla 185.199.110.153 192.168.5.5
nlnetlabs.nl
  2a04:b900::1:0:0:10
  185.49.140.10

google.com
  2a00:1450:400e:810::200e
  142.250.179.174

blablablablabla.bla
  <no addresses found>

185.199.110.153
  cdn-185-199-110-153.github.com

192.168.5.5
  <no hosts found>

I worked around a missing method in domain. See this PR: https://github.com/NLnetLabs/domain/pull/316/files

partim commented 4 months ago

Looks good!

If you could add a stub man page for dnsi-lookup and update the one for dnsi, we could merge it and add more stuff in future PRs.