Where can I find the name servers of Google Compute Engine?

孤街浪徒 提交于 2019-12-05 23:15:21

问题


I have uploaded a website to my Compute Engine instance and I wanted to set the registrar to send the visitors to the server (Compute Engine).

Where can I get the name servers of my instance/server over Compute Engine?


回答1:


Google Compute Engine does not provide a nameserver on the public internet. (It does provide a nameserver for the internal network which is private to your project, this allows you to connect to instances via their instance names rather than IP.)

If you want your instances to be available via public internet DNS nameservers, you'll need an external nameserver and one or more static IP addresses for your instances.

You have two options for static IP addresses on Compute Engine: You can have a static address for a single instance, or for the GCE Load Balancer.

See this documentation for how to configure a static IP address for an instance.

Using the Load Balancer is more flexible. See this documentation for details on Load Balancing.




回答2:


Google Public DNS provides public use name resolution for the masses here: https://developers.google.com/speed/public-dns/ for free and Google Cloud DNS provides here: https://developers.google.com/cloud-dns/ for nearly but not quite free.



来源:https://stackoverflow.com/questions/21846900/where-can-i-find-the-name-servers-of-google-compute-engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!