# First insert the domains to the powerdns database used by bosh | |
insert into domains(name,type) values('a9s.eu','NATIVE'); | |
insert into domains(name,type) values('a9sapp.eu','NATIVE'); | |
# Then insert the required dns settings | |
# You need to replace the domain name and the domain_id. We're using *.de.a9s.eu as Cloud Foundry | |
# domain and *.de.a9sapp.eu as app domain. | |
insert into records(name,type,content,ttl,change_date,domain_id) | |
values('<Your domain name>','A','<YOUR IP>',300,1386843415,<ID of your domain>); | |
insert into records(name,type,content,ttl,change_date,domain_id) | |
values('*.de.a9s.eu','A','<YOUR IP>',300,1386843415,<ID of your domain>); | |
insert into records(name,type,content,ttl,change_date,domain_id) | |
values('a9s.eu','SOA','localhost hostmaster@localhost 0 10800 604800 30',300,1386843415,<ID of your domain>); | |
insert into records(name,type,content,ttl,change_date,domain_id) | |
values('de.a9sapp.eu','A','<YOUR IP>',300,1386843415,<ID of your second domain>); | |
insert into records(name,type,content,ttl,change_date,domain_id) | |
values('*.de.a9sapp.eu','A','<YOUR IP>',300,1386843415,<ID of your second domain>); | |
insert into records(name,type,content,ttl,change_date,domain_id) | |
values('a9sapp.eu','SOA','localhost hostmaster@localhost 0 10800 604800 30',300,1386843415,<ID of your second domain>); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment