2

Many infrastructure configurations require a fully qualified domain name to set up. How do we set an FQDN on google compute instances? FQDN that can be used internally within the VPC and / or FQDN that can be used externally

Karthik tv
  • 109
  • 1
  • 2
  • 7
  • Is this what you are looking for? https://stackoverflow.com/questions/27041837/point-domain-name-to-google-compute-engine – Dagang Sep 09 '17 at 21:29

1 Answers1

0

Here is a documents that explain how the FQDN works in an instance of compute engine.

Maybe this solution fit your needs:

# edit the hosts file and add your FQDN
$ sudo vi /etc/hosts  
# prevent the overwrite 
$ sudo +i chattr -i /etc/hosts

Also you can use Google Cloud DNS and use it as internal DNS by editing the resolv.conf file