您的位置:首页 > 大数据 > 人工智能

Openstack:Instance cannot ping by domain name

2016-03-02 11:05 771 查看
Issue:

When you created an instance inside Openstack, you may find that you cannot ping address by domain name in the instance. But ping IP Address directly is OK.

For example, ping 74.125.200.99 is OK, but
ping
www.google.com
will be failed, because of error
ping:
unknown host www.google.com
. Whilst, the /etc/resolv.conf configuration is correct.


#Generated by NetworkManager

search openstacklocal

nameserver 8.8.8.8

nameserver 8.8.4.4



Root Cause:

This may be caused by your openstack firewall setting. UDP communication must be allowed. Otherwise, DNS Service packages will be blocked by firewall.

Solution:

Log into admin page to confirm if you have already enable all necessary Protocol Rules.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: