how to setup DNS * A record

30 views
Skip to first unread message

Guangcai Wang

unread,
Jul 25, 2014, 1:32:13 AM7/25/14
to bosh-...@cloudfoundry.org
I am following the guide http://docs.cloudfoundry.org/deploying/openstack/ to install CF v2 on openstack. Now, I am on the step 7 to install cloud foundry. but I don't understand how and where to set up the DNS required by the guide.
 
"It is also required that you have provisioned a floating IP address (2.3.4.5 in the examples below) and setup your DNS to map * records to this IP address. For example, if you were using mycloud.com domain as the base domain for your Cloud Foundry, you need a * A record for this zone mapping to 2.3.4.5."
 
1. should I config this on powerDNS managed by BOSH?
2. should I create a new VM assigned 2.3.4.5 to act as a DNS server?
3. any other configuration?
 
 
 
 
ubuntu@ubuntu12:~/bosh-workspace/deployments$ bosh status
Config
             /home/ubuntu/.bosh_config
Director
  Name       microbosh-openstack
  URL        https://10.0.0.12:25555
  Version    1.2624.0 (00000000)
  User       openstack
  UUID       a11193e9-99ff-4f85-8dc0-8a06509aeed2
  CPI        openstack
  dns        enabled (domain_name: microbosh)
  compiled_package_cache disabled
  snapshots  disabled
Deployment
  Manifest   /home/ubuntu/bosh-workspace/deployments/bosh-openstack/bosh-openstack.yml
ubuntu@ubuntu12:~/bosh-workspace/deployments$
ubuntu@ubuntu12:~/bosh-workspace/deployments$
ubuntu@ubuntu12:~/bosh-workspace/deployments$
ubuntu@ubuntu12:~/bosh-workspace/deployments$ bosh vms
Deployment `bosh-openstack'
Director task 62
Task 62 done
+------------------+---------+---------------+---------------+
| Job/index        | State   | Resource Pool | IPs           |
+------------------+---------+---------------+---------------+
| blobstore/0      | running | common        | 10.0.0.86     |
| director/0       | running | common        | 10.0.0.87     |
|                  |         |               | 137.172.74.84 |
| health_monitor/0 | running | common        | 10.0.0.89     |
| nats/0           | running | common        | 10.0.0.82     |
| postgres/0       | running | common        | 10.0.0.84     |
| powerdns/0       | running | common        | 10.0.0.85     |
|                  |         |               | 137.172.74.83 |
| redis/0          | running | common        | 10.0.0.83     |
| registry/0       | running | common        | 10.0.0.88     |
+------------------+---------+---------------+---------------+
 
 
 
 
Thanks.
 
 

Guangcai Wang

unread,
Aug 6, 2014, 12:43:55 AM8/6/14
to bosh-...@cloudfoundry.org
Setup a DNS server outside of VMs. and let openstack network point out to the DNS server.
Reply all
Reply to author
Forward
0 new messages