AWS Route 53 DNS Provider
This is a drop-in provider for apnscp to enable DNS support for accounts that use AWS. This provider is built into apnscp.
EditDomain -c dns,provider=aws -c dns,key='[key:ABCDEF123,secret:AbCdEf12345]' domain.com
Where the key is created within AWS. Your API key is available within your AWS IAM Console. See also Managing Access Keys for Your AWS Account Root User.
- key: IAM key
- secret: IAM secret
- region: AWS region. Refer to Regions and Availability Zones
- Module- overrides Dns_Module behavior
- Validator- service validator, checks input with AddDomain/EditDomain helpers
Minimal module methods
All module methods can be overwritten. The following are the bare minimum that are overwritten for this DNS provider to work:
atomicUpdate()attempts a record modification, which must retain the original record if it fails
zoneAxfr()returns all DNS records
add_record()add a DNS record
remove_record()removes a DNS record
get_hosting_nameservers()returns nameservers for the DNS provider
add_zone_backend()creates DNS zone
remove_zone_backend()removes a DNS zone
See also: Creating a provider (hq.apnscp.com)
Submit a PR and have fun!