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

Support to identify Internal IP Information #139

Closed
ehsandeep opened this issue Jan 13, 2022 · 0 comments · Fixed by #143 or #153
Closed

Support to identify Internal IP Information #139

ehsandeep opened this issue Jan 13, 2022 · 0 comments · Fixed by #143 or #153
Assignees
Labels
Priority: Medium This issue may be useful, and needs some attention. Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Milestone

Comments

@ehsandeep
Copy link
Member

Please describe your feature request:

Boolean field to include in the default JSON output to indicate if resolved IP is internal or not, ranges of internal IP can be obtained from https://datatracker.ietf.org/doc/html/rfc5735

echo google.com | dnsx -json
{
  "host": "google.com",
  "resolver": [
    "8.8.8.8:53"
  ],
  "a": [
    "142.250.192.14"
  ],
  "status_code": "NOERROR",
+  "internal": false
  "timestamp": "2022-01-13T13:06:43.081861+05:30"
}
echo dmyx.com | dnsx -json
{
  "host": "dmyx.com",
  "resolver": [
    "8.8.8.8:53"
  ],
  "a": [
    "127.0.0.1"
  ],
  "status_code": "NOERROR",
+  "internal": true
  "timestamp": "2022-01-13T13:56:10.324053+05:30"
}

Requested by breno_css#8797

@ehsandeep ehsandeep added Type: Enhancement Most issues will probably ask for additions or changes. Priority: Medium This issue may be useful, and needs some attention. labels Jan 13, 2022
@Ice3man543 Ice3man543 self-assigned this Jan 15, 2022
@Ice3man543 Ice3man543 linked a pull request Jan 15, 2022 that will close this issue
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Jan 27, 2022
@ehsandeep ehsandeep added this to the 1.0.8 milestone Jan 28, 2022
@ehsandeep ehsandeep linked a pull request Feb 16, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue may be useful, and needs some attention. Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
2 participants