虽然我可以用Ubuntu22.04连接到移动宽带,并且可以传输数据包(ping 8.8.8.8工作得很好),但DNS解析不起作用。结果是我不能使用互联网连接。
这是nslookup google.de的输出:
;; connection timed out; no servers could be reached
我已经尝试过按照建议的/etc/systemd/resolved.conf中的这里来修改设置。设置备用DNS服务器根本不起作用。覆盖DNS服务器(一旦我重新启动systemd解析)。问题是我无法设置固定的DNS服务器,因为我广泛使用VPN,并且需要在VPN中使用DNS服务器进行名称解
我尝试了从Firefox获得的所有故障排除,但都失败了,但我仍然得到了相同的错误:
The following error was encountered while trying to retrieve the URL: http://vodlocker.com/wv420ypnzarv
Connection to host failed.
The system returned: (110) Connection timed out
The remote host or network may be down. Please try the request again.
我可以用我
在OCP 4.3上,从仪表板“复制登录命令”生成的oc登录命令
oc login --token=asdfghjk... --server=https://api.xxx.com:6443
在以下方面失败:
error: dial tcp: lookup api.xxx.com on 192.168.0.1:53: no such host - verify you have provided the correct host and port and that the server is currently running.
当我将集群的公共ip替换为主机名时,它可以工作。
oc login