mirror of
https://github.com/Archeb/opentrace.git
synced 2026-04-26 09:15:52 +03:00
[GH-ISSUE #47] [BUG] 第一跳主机名显示不全 #42
Labels
No labels
bug
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentrace#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wwng2333 on GitHub (Dec 8, 2023).
Original GitHub issue: https://github.com/Archeb/opentrace/issues/47
Describe the bug 描述你遇到的BUG
我的第一跳主机名是smartdns,但是程序中只显示smartdn,拉宽那一列也无法显示完全,其他正常
To Reproduce 复现方法
no idea
Screenshots (If applicable) 截图(如果有)

Environment 使用环境
Additional context 补充说明
下面是使用nexttrace的结果,可以看到nexttrace解析不出来主机名
cmd nslookup显示主机名正常:
@tsosunchia commented on GitHub (Dec 8, 2023):
并不是这样的, nexttrace不会长时间等待返回ptr, 所以出现了这种情况
@tsosunchia commented on GitHub (Dec 8, 2023):
./nexttrace.exe 223.6.6.6 -a
你可以观察一下输出
@wwng2333 commented on GitHub (Dec 8, 2023):
-a以后输出正常
@tsosunchia commented on GitHub (Dec 8, 2023):
是的,-a参数会使nexttrace长时间等待ptr,一般家用路由器都会遇到这种问题,响应ptr过慢
@tsosunchia commented on GitHub (Dec 8, 2023):
@Archeb 可以考虑一下,把preference中的禁用反向DNS查询改为菜单按钮,这样可以让用户选择 null/-n/-a
@wwng2333 commented on GitHub (Dec 8, 2023):
我用wireshark抓到opentrace获得的ptr结果是正常的,只是显示的不对,不显示最后一个字符

@tsosunchia commented on GitHub (Dec 8, 2023):
这不是opentrace的问题,这是nexttrace这里处理的特性
@tsosunchia commented on GitHub (Dec 8, 2023):
作为一个临时的解决办法,你可以在preference中 “附加参数” 中填写
-a@wwng2333 commented on GitHub (Dec 8, 2023):
添加

-a之后问题解决@Archeb commented on GitHub (Dec 12, 2023):
已添加
9835e3d10d@wwng2333 commented on GitHub (Dec 12, 2023):
测试ok