Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.57 KB

dns.md

File metadata and controls

43 lines (30 loc) · 1.57 KB

Setting up DNS

A registered domain name is required to deploy PCF. If you don't already have a domain name, you can create and register a new domain name at Google Domains, or you can use a third-party domain name registrar.

The installation requires a child zone to be hosted on Cloud DNS

Create a Cloud DNS Zone

  1. Open Cloud DNS for your GCP Project
  2. Click 'Create Zone' and populate the following fields
    • Zone Name: pcf-zone
    • DNS Name: pcf.<your-domain-name.com>
  3. Click 'Create'

Setup NS records

This process will differ by DNS host and you should consult the documentation for your provider to create the record.

The follow record must be created:

  • DNS Name: pcf.<your-domain-name.com>
  • Record Type: NS
  • Name Server: Populate with the rrdatas from: gcloud dns record-sets list --zone=pcf-zone --format=flattened --filter="type=NS". They will be in the format of ns-cloud-{a,b,c,..}{1,2,3..}.googledomains.com

Verifying NS records

Verify your NS records are properly configured by running dig:

dig pcf.<your-domain-name.com> NS +short

If the command returns your list on Cloud DNS servers (ns-cloud-..) then you have successfuly setup your zone. If it returns an empty result then you may need to wait for the record to propagate or the NS record may be incorrectly configured.

> After verifying your DNS records you can now move on to Deploying Pivotal Cloud Foundry