mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-06 23:47:45 +08:00
40 lines
No EOL
801 B
Markdown
40 lines
No EOL
801 B
Markdown
---
|
|
name: Route 53
|
|
layout: default
|
|
jsId: ROUTE53
|
|
---
|
|
# Amazon Route 53 Provider
|
|
|
|
## Configuration
|
|
|
|
In your providers config json file you must provide an aws access key:
|
|
|
|
{% highlight json %}
|
|
{
|
|
"r53":{
|
|
"KeyId": "your-aws-key",
|
|
"SecretKey": "your-aws-secret-key"
|
|
}
|
|
}
|
|
{% endhighlight %}
|
|
|
|
## Metadata
|
|
|
|
This provider does not recognize any special metadata fields unique to route 53.
|
|
|
|
## Usage
|
|
|
|
Example javascript:
|
|
|
|
{% highlight js %}
|
|
var REG_NAMECOM = NewRegistrar("name.com","NAMEDOTCOM");
|
|
var R53 = NewDnsProvider("r53", ROUTE53);
|
|
|
|
D("example.tld", REG_NAMECOM, DnsProvider(R53),
|
|
A("test","1.2.3.4")
|
|
);
|
|
{%endhighlight%}
|
|
|
|
## Activation
|
|
|
|
DNSControl depends on a standard [aws access key](https://aws.amazon.com/developers/access-keys/) with permission to create and update hosted zones. |