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

Feature Request for nslookup: Support for reverse lookups #31

Closed
SoloDefend opened this issue Jan 22, 2021 · 2 comments
Closed

Feature Request for nslookup: Support for reverse lookups #31

SoloDefend opened this issue Jan 22, 2021 · 2 comments

Comments

@SoloDefend
Copy link

Looking for reverse lookup support with the nslookup BOF.

If I do nslookup 10.10.10.10 it only returns the A record for the IP but no hostname. If I try the below options I get DNS errors.
nslookup 10.10.10.10.in-addr.arpa
nslookup 10.10.10.10 PTR

@freefirex
Copy link
Collaborator

PTR records are supported, but currently you are targeting an IP that doesn't have a PTR record registered (unless its registered in your testing domain) and you are using the incorrect format.

Please see these tests / examples
10.10.10.10 being invalid
Screen Shot 2021-01-22 at 11 54 35 AM
A valid PTR lookup
Screen Shot 2021-01-22 at 11 55 04 AM
How to perform the lookup using our nslookup bof and showing the help for how to format the query
Screen Shot 2021-01-22 at 11 55 44 AM

@SoloDefend
Copy link
Author

Yeah that's how I had it formatted (omitting the 0) forgot to add PTR to my request here. Was using for internal recon so it looks like the domain doesn't have pointers. Thanks for the clarification.

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