-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Only show hostnames if different from IPs #1363
Labels
Milestone
Comments
fujiapple852
added a commit
that referenced
this issue
Oct 27, 2024
fujiapple852
added a commit
that referenced
this issue
Oct 27, 2024
fujiapple852
changed the title
Only show
Only show hostname if different from IP
Oct 27, 2024
source
and target
hostnames if different from IP
fujiapple852
changed the title
Only show hostname if different from IP
Only show Oct 27, 2024
Target
hostnames if different from IPs
fujiapple852
changed the title
Only show
Only show hostnames if different from IPs
Oct 27, 2024
Target
hostnames if different from IPs
fujiapple852
added a commit
that referenced
this issue
Oct 27, 2024
fujiapple852
added a commit
that referenced
this issue
Oct 27, 2024
fujiapple852
added a commit
that referenced
this issue
Oct 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modify the display of the
Target
line in the header such that, for both the source and the destination, the hostname is only shown if it differs from the IP address.For the destination, if the user supplies a target hostname it is resolved to an IP address and and both the IP address and provided hostname are shown. If the user supplies an IP address, a reverse DNS hostname lookup is attempted and, if successful, both the IP address and first resolved hostname are shown, otherwise only the IP address is shown.
For the source, a reverse DNS hostname lookup is attempted and if successful both the IP address and first resolved hostname are shown, otherwise only the IP address is shown.
The following is an example of the old and new
Target
line (for ICMP and UDP/TCP).Old (ICMP):
trip news.ycombinator.com:
trip 209.216.230.207:
New (ICMP):
trip news.ycombinator.com:
trip 209.216.230.207:
Old (UDP/TCP):
trip news.ycombinator.com --udp
trip 209.216.230.207 --udp:
New (UDP/TCP):
trip news.ycombinator.com --udp
trip 209.216.230.207 --udp:
The text was updated successfully, but these errors were encountered: