当要转售的主机名包含字符“\032“糟糕的是,它在我的大多数设备上运行良好,除了我的笔记本电脑 :(
我的笔记本电脑有 ubuntu focal。
dig something.com
; <<>> DiG 9.16.1-Ubuntu <<>> something.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8706
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;something.com. IN A
;; ANSWER SECTION:
something.com. 3600 IN CNAME \032somethingmore.azure.com.
\032somethingmore.azure.com. 10 IN A **.**.**.**
;; Query time: 160 msec
;; SERVER: 80.58.61.250#53(80.58.61.250)
;; WHEN: mar nov 10 19:08:16 CET 2020
;; MSG SIZE rcvd: 128
ping something.com
ping: something.com: System Error
dig +short AAAA something.com
\032somethingmore.azure.com
nc -zv -4 something.com 443
nc: getaddrinfo for host "something.com" port 443: No address associated with hostname
我唯一取得的一半成功就是改变 /etc/nsswitch.conf :
-hosts: files mdns4_minimal [NOTFOUND=return] dns
+hosts: dns files
nc -zv something.com 443
nc: getaddrinfo for host "something.com" port 443: Name or service not known
ping something.com
ping: something.com: Name or service not known
但它对我来说仍然无效......
提前致谢。
胜利者。
我找到了一个可能感兴趣的链接:
标签中带有“\032”的记录处理不正确