简体   繁体   English

无法ping通桉云中的DNS服务器

[英]unable to ping DNS server in eucalyptus cloud

I am installing eucalyptus 4.4.4 on centos 7 and i have done all the installation steps but DNS is still not working.我正在 centos 7 上安装 eucalyptus 4.4.4,我已经完成了所有安装步骤,但 DNS 仍然无法正常工作。 When i using ping to check it is showing error that cannot find service.当我使用 ping 检查它时显示找不到服务的错误。

To check the status of the eucalyptus dns service you can use:要检查桉树 dns 服务的状态,您可以使用:

# euserv-describe-services --filter service-type=dns --expert
SERVICE  arn:euca:bootstrap:api.10.117.111.14:dns:api.10.117.111.14.dns/  enabled  21  http://192.168.111.14:8773/services/Dns  

If the service is not enabled then the most likely reason is that another service is installed and using the dns port.如果未启用该服务,则最可能的原因是安装了另一个服务并使用了 dns 端口。

If the service is enabled then you can check the output using dig:如果该服务已启用,那么您可以使用 dig 检查输出:

 dig +short ec2.internal @192.168.111.14
192.168.111.14

In this example my dns and ec2 (compute) services are on the same host.在这个例子中,我的 dns 和 ec2(计算)服务在同一台主机上。

If you see a response such as:如果您看到如下响应:

Warning: query response not set

from the dig command then you may not have enabled dns functionality, to check and then enable dns run:从 dig 命令然后你可能没有启用 dns 功能,检查然后启用 dns 运行:

# euctl dns.enabled
# euctl dns.enabled=true

It is also a good idea to review other setting described in the documentation to verify dns settings:查看文档中描述的其他设置以验证 dns 设置也是一个好主意:

http://docs.eucalyptus.cloud/eucalyptus/4.4.5/index.html#shared/setting_up_dns.html http://docs.eucalyptus.cloud/eucalyptus/4.4.5/index.html#shared/setting_up_dns.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM