简体   繁体   中英

Internal DNS address for Google Cloud internal load balancers

According to this documentation page , every VM instance has a DNS entry of the following form:

hostName.c.[PROJECT_ID].internal

This would look something like:

redis.c.myproject.internal

I want to know if there is an equivalent for internal load balancers. Looking at the documentation , there doesn't seem to be anything, but that looks like a pretty big oversight.

So, is there a way to access an internal LB in GCP via a DNS entry?

There is no entry in the GCE DNS metadata server for LBs. There is an open feature request for this at https://issuetracker.google.com/issues/35904974 . You can Star that request to signal your interest and subscribe to updates.

Now you can do this with Cloud DNS

Create Zone and then add your IP, it can be anything from VM to LB. whatever you want to resolve under VPC.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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