[GH-ISSUE #71] Simplify for rDNS #54

Closed
opened 2026-03-14 01:10:41 +03:00 by kerem · 0 comments
Owner

Originally created by @ainar-g on GitHub (Jun 17, 2024).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/71

It is currently hard to make a PTR query for rDNS. Firstly, the user has to manually reverse the domain name and add .in-addr.arpa. Secondly, it's particularly hard in the Windows command shell, where something like env often isn't readily available, so setting RRTYPE=PTR for just one query can become challenging.

There are two possible solutions I see:

  1. Detect it when the first argument is an IP address and enter “rDNS mode”.
  2. Add a command-line flag to enable said rDNS mode.
Originally created by @ainar-g on GitHub (Jun 17, 2024). Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/71 It is currently hard to make a PTR query for rDNS. Firstly, the user has to manually reverse the domain name and add `.in-addr.arpa`. Secondly, it's particularly hard in the Windows command shell, where something like `env` often isn't readily available, so setting `RRTYPE=PTR` for just one query can become challenging. There are two possible solutions I see: 1. Detect it when the first argument is an IP address and enter “rDNS mode”. 2. Add a command-line flag to enable said rDNS mode.
kerem 2026-03-14 01:10:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dnslookup#54
No description provided.