zu1k / nali

An offline tool for querying IP geographic information and CDN provider. 一个查询IP地理信息和CDN服务提供商的离线终端工具.
https://github.com/zu1k/nali
MIT License
3.82k stars 342 forks source link

Windows下nslookup nali.lgf.im 8.8.8.8 | nali 回显字符异常 #59

Closed ghost closed 3 years ago

ghost commented 3 years ago

在Windows terminal下面输入会有异常

D:\Tools\nali>nslookup nali.lgf.im 8.8.8.8 | nali
非权威应答:
������:  dns.google
Address:  8.8.8.8 [美国 加利福尼亚州圣克拉拉县山景市谷歌公司DNS服务器]

����:    nali.lgf.im
Addresses:  104.21.6.190 [美国 CloudFlare公司CDN节点]
          172.67.135.48 [美国 CloudFlare节点]
rampageX commented 3 years ago

Flags: --gbk Use GBK decoder

so, try,

nslookup nali.lgf.im 8.8.8.8 | nali --gbk