【问题标题】:connection timed out; trying next origin in nslookup连接超时;在 nslookup 中尝试下一个来源
【发布时间】:2015-01-10 05:00:15
【问题描述】:

我们在服务器中发出nslookup 命令时遇到以下错误。

nslookup testdb.oracle.com
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached

我们在/etc/hosts 中添加了testdb.oracle.com,主机名为test.oracle.com。从过去 2 天开始,我们正在努力解决此问题。

【问题讨论】:

    标签: linux redhat centos6


    【解决方案1】:

    它不工作的原因是你使用它的命令错误的那个prpose。
    "nslookup" = 名称服务器查找 -> 它会询问您的名称服务器(在 /etc/resolv.conf 中列出)提供信息,并根据您尚未定义任何名称服务器的错误 = 它不起作用。

    要检查仅存在于 /etc/host 中的内容是否有效,您需要使用使用 /etc/hosts 的内容,例如 ping -w2 testdb.oracle.com,然后您可以查看将尝试到达的 ip + 如果可以到达它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-11
      • 1970-01-01
      • 1970-01-01
      • 2022-07-08
      • 2017-12-09
      相关资源
      最近更新 更多