无法从我的 Arch 桌面访问特定网站

无法从我的 Arch 桌面访问特定网站

www.balaye.net当互联网的其他部分都可以正常运行时,我无法从我的 Arch 桌面访问某个特定网站。

我尝试使用两个不同的 WiFi 网络,但没有成功。此外,我可以从运行 Windows 或 Android 的其他设备访问该网址。

这是我的配置,但我不确定需要提供什么:

文件:/etc/resolv.conf

# Generated by NetworkManager
nameserver 192.168.214.185

使用时nslookup www.balaye.net

Server:         192.168.214.185
Address:        192.168.214.185#53

Non-authoritative answer:
www.balaye.net  canonical name = https://pietrodito.github.io.
Name:   https://pietrodito.github.io
Address: 185.199.111.153
Name:   https://pietrodito.github.io
Address: 185.199.108.153
Name:   https://pietrodito.github.io
Address: 185.199.110.153
Name:   https://pietrodito.github.io
Address: 185.199.109.153
Name:   https://pietrodito.github.io
Address: 2606:50c0:8001::153
Name:   https://pietrodito.github.io
Address: 2606:50c0:8000::153
Name:   https://pietrodito.github.io
Address: 2606:50c0:8003::153
Name:   https://pietrodito.github.io
Address: 2606:50c0:8002::153

使用时dig www.balaye.net

; <<>> DiG 9.18.4 <<>> www.balaye.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29574
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.balaye.net.                        IN      A

;; ANSWER SECTION:
www.balaye.net.         159     IN      CNAME   https://pietrodito.github.io.
https://pietrodito.github.io. 159 IN    A       185.199.110.153
https://pietrodito.github.io. 159 IN    A       185.199.109.153
https://pietrodito.github.io. 159 IN    A       185.199.111.153
https://pietrodito.github.io. 159 IN    A       185.199.108.153

;; Query time: 10 msec
;; SERVER: 192.168.214.185#53(192.168.214.185) (UDP)
;; WHEN: Fri Jul 08 16:19:31 CEST 2022
;; MSG SIZE  rcvd: 138

我也尝试过这个wget https://www.balaye.net

--2022-07-08 19:19:53--  https://www.balaye.net/
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving www.balaye.net (www.balaye.net)... failed: Success.
wget: unable to resolve host address ‘www.balaye.net’

当尝试时ping www.balaye.net

ping: www.balaye.net: System error

尝试时ping www.google.com

ING www.google.com (216.58.214.164) 56(84) bytes of data.
64 bytes from par10s42-in-f4.1e100.net (216.58.214.164): icmp_seq=1 ttl=115 time=53.7 ms
64 bytes from par10s42-in-f4.1e100.net (216.58.214.164): icmp_seq=2 ttl=115 time=47.6 ms
64 bytes from par10s42-in-f4.1e100.net (216.58.214.164): icmp_seq=3 ttl=115 time=58.4 ms
64 bytes from par10s42-in-f4.1e100.net (216.58.214.164): icmp_seq=4 ttl=115 time=60.6 ms
^C
--- www.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 47.585/55.077/60.585/4.986 ms

答案1

将其转换为答案:

www.balaye.net. 159 IN CNAME https://pietrodito.github.io.

不是有效的 CNAME;不应https://存在。只有主机名,没有方案、端口、路径等。

相关内容