Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for dig options #3

Open
tblancher opened this issue Oct 16, 2016 · 1 comment
Open

Request for dig options #3

tblancher opened this issue Oct 16, 2016 · 1 comment

Comments

@tblancher
Copy link

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.

@sajal
Copy link
Owner

sajal commented Oct 16, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants