所以我有一个非常基本的脚本:
#region Get Hostname IP
IPAddress[] dnsRecords = Dns.GetHostAddresses(hostname);
string ipHostname = dnsRecords[0].ToString();
if (ipHostname.Length == 0) {
responseCode = imapLoginResponse.Failed;
return false;
}
#endregion
#region Try make a request to the Host, Port
try {
我尝试了从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.
我可以用我
我有一个带单独服务器的区域.default.svc.cluster.local,但我不想输入所有这些。
相反,我想输入XXX.localhost才能到达XXX.default.svc.cluster.local。
为此,我一直在考虑使用naptr-record of dnsmasq,但它的语法让我抓狂。我该怎么办?
在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
所以这一直都是有效的。我在GKE中运行了几个简单的服务,它们通过标准的service.namespace域名相互引用。
今天,所有DNS名称解析都停止工作。我没有改变任何东西,尽管这可能是由主升级触发的。
/ambassador # nslookup ambassador-monitor.default
nslookup: can't resolve '(null)': Name does not resolve
nslookup: can't resolve 'ambassador-monitor.default': Try again