DNS
Note
DNS API is available in Libcloud 0.6.0 and higher.
DNS API allows you to manage DNS as A Service and services such as Zerigo DNS,Rackspace Cloud DNS and others.
Terminology
Zone
- Represents a DNS zone or so called domain.Record
- Represents a DNS record. Each recordbelongs to a Zone and has atype
anddata
attribute. Value of thedata
attribute depends on the record type.Some record types also require user to associate additional attributes withthem. Those additional attributes are stored in theextra
attribute(dictionary) on the record object. An example includeMX
andSRV
record type which also contains a priority.RecordType
- Represents a DNS record type(A
,AAAA
,MX
,TXT
,SRV
,PTR
,NS
, etc.)- Zone Type - Each zone has a
type
attribute. This attribute representsa zone type. Type can either bemaster
(also called primary) orslave
(also called secondary).
Supported Providers
For a list of supported providers see supported providers page.
Examples
We have examples of several common patterns.
API Reference
For a full reference of all the classes and methods exposed by the DNSAPI, see this page.
当前内容版权归 Apache Libcloud 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Apache Libcloud .