mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Split horizon (#2379)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
committed by
GitHub
parent
1ef7c80e3a
commit
d8f45aa868
@ -80,27 +80,29 @@ D("example.tld", REG_NONE, DnsProvider(DSP_R53),
|
||||
|
||||
## Split horizon
|
||||
|
||||
This provider supports spilt horizons using the `R53_ZONE()` domain function.
|
||||
This provider supports spilt horizons using the [`R53_ZONE()`](../functions/record/R53_ZONE.md) domain function.
|
||||
|
||||
In this example the domain `testzone.net` appears in the same account twice,
|
||||
each with different zone IDs specified using `R53_ZONE()`.
|
||||
each with different zone IDs specified using [`R53_ZONE()`](../functions/record/R53_ZONE.md).
|
||||
|
||||
```
|
||||
{% code title="dnsconfig.js" %}
|
||||
```javascript
|
||||
var DSP_R53 = NewDnsProvider("r53_main");
|
||||
var REG_NONE = NewRegistrar("none");
|
||||
|
||||
D('testzone.net!private', REG_NONE,
|
||||
DnsProvider(DSP_R53),
|
||||
R53_ZONE('Z111111111JCCCP1V7UW'),
|
||||
TXT('me', 'private testzone.net'),
|
||||
TXT('me', 'private testzone.net'),
|
||||
);
|
||||
|
||||
D('testzone.net!public', REG_NONE,
|
||||
DnsProvider(DSP_R53),
|
||||
R53_ZONE('Z222222222INNG98SHJQ2'),
|
||||
TXT('me', 'public testzone.net'),
|
||||
TXT('me', 'public testzone.net'),
|
||||
);
|
||||
```
|
||||
{% endcode %}
|
||||
|
||||
## Activation
|
||||
DNSControl depends on a standard [AWS access key](https://aws.amazon.com/developers/access-keys/) with permission to list, create and update hosted zones. If you do not have the permissions required you will receive the following error message `Check your credentials, your not authorized to perform actions on Route 53 AWS Service`.
|
||||
|
Reference in New Issue
Block a user