digdroid icon indicating copy to clipboard operation
digdroid copied to clipboard

Request for dig options

Open tblancher opened this issue 9 years ago • 1 comments

I'm testing out this dig tool, and it's great! I just wish it had support for dig's standard options, like (d-opts) +search and +short. Also, q-opts like -x to do a reverse lookup.

tblancher avatar Oct 16 '16 12:10 tblancher

Thanks for the feedback. I will look into these flags when i have spare time.

Out of these -x seems to be the easiest. For the time being, you could do it manually. Instead of dig -x 1.2.3.4 ... in the app query for 4.3.2.1.in-addr.arpa with query type PTR

+[no]search might be very difficult if the underlying library does not offer something for it. +short same as above, if library supports it its easy, otherwise its a lot of work parsing and formatting the output by hand.

FYI: The library that actually makes the queries is https://godoc.org/github.com/miekg/dns . If you see some features there that you'd like in the app, let me know, I could do those first.

sajal avatar Oct 16 '16 17:10 sajal