forked from rubber/rubber
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add setup of arbitrary dns records via nettica or zerigo apis
- Loading branch information
Matt Conway
committed
Oct 6, 2009
1 parent
d984451
commit 61ca87e
Showing
6 changed files
with
208 additions
and
97 deletions.
There are no files selected for viewing
79 changes: 79 additions & 0 deletions
79
generators/vulcanize/templates/base/config/rubber/rubber-dns.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,79 @@ | |||
# OPTIONAL: The dns provider to use. Need to exist in dns_providers below | |||
# dns_provider: nettica | |||
|
|||
# OPTIONAL: The configuration for each dns provider (nettica|zerigo|dyndns) | |||
# This lets rubber update a dynamic dns service with the instance alias and ip | |||
# | |||
dns_providers: | |||
nettica: | |||
user: joe | |||
password: sekret | |||
type: A | |||
ttl: 300 | |||
zerigo: | |||
customer_id: 1234 | |||
email: foo@bar.com | |||
token: hexxy | |||
type: A | |||
ttl: 300 | |||
dyndns: | |||
user: joe | |||
password: sekret | |||
update_url: https://members.dyndns.org/nic/update?hostname=%host%&myip=%ip%' | |||
|
|||
# OPTIONAL: Lets you configure your dns service, for example to add other CNAMES | |||
# or setup dns round robin, etc. Run "cap rubber:setup_dns_records" | |||
# to apply them as rubber only sets up instance aliases as part of | |||
# the standard lifecycle | |||
# | |||
# dns_records: | |||
# # simple A record | |||
# - host: bar | |||
# data: 1.1.1.1 | |||
# | |||
# # more detailed A record | |||
# - host: bar | |||
# domain: otherdomain.com | |||
# data: 1.1.1.1 | |||
# type: A | |||
# ttl: 300 | |||
# | |||
# # tld A record | |||
# - host: '' | |||
# data: 1.1.1.1 | |||
# type: A | |||
# | |||
# # simple CNAME record | |||
# - host: otherbar | |||
# domain: foo.com | |||
# data: bar.foo.com | |||
# type: CNAME | |||
# ttl: 300 | |||
# | |||
# # 2 of the same A records is a round robin dns | |||
# - host: rr | |||
# domain: foo.com | |||
# data: 1.1.1.1 | |||
# type: A | |||
# ttl: 300 | |||
# - host: rr | |||
# domain: foo.com | |||
# data: 1.1.1.2 | |||
# type: A | |||
# ttl: 300 | |||
# | |||
# # A record, grabbing ip from instance config | |||
# - host: baz | |||
# domain: foo.com | |||
# data: "#{rubber_instances.for_role('web').first.external_ip}" | |||
# type: A | |||
# ttl: 300 | |||
# | |||
# # MX record | |||
# - host: '' | |||
# domain: foo.com | |||
# data: mail.foo.com | |||
# type: MX | |||
# ttl: 300 | |||
# priority: 10 | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters