Module dns¶
License: Apache 2.0
Version: 0.2.0
Author: Inmanta <code@inmanta.com>
Upstream project: https://github.com/inmanta/dns.git
Typedefs¶
-
typedef
dns::hoststring
¶ Base type
string
Type constraint
/^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.?$/
Entities¶
-
entity
dns::A
¶ Parents:
dns::Record
An A record
-
attribute ip::ip
ipaddress
¶ The address to point this record to
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
dns::aImpl
constrainttrue
-
attribute ip::ip
-
entity
dns::AAAA
¶ Parents:
dns::Record
-
attribute string
ipaddress
¶
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
dns::aaaaImpl
constrainttrue
-
attribute string
-
entity
dns::Cname
¶ Parents:
dns::Record
-
attribute string
value
¶
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
dns::cnameImpl
constrainttrue
-
attribute string
-
entity
dns::DnsServer
¶ Parents:
std::Entity
-
attribute ip::ip
ipaddress
¶
-
relation dns::Zone
master_zones
[0:*]¶ other end:
dns::Zone.master [1]
-
relation dns::Zone
slave_zones
[0:*]¶ other end:
dns::Zone.slaves [0:*]
The following implements statements select implementations for this entity:
std::none
constrainttrue
-
attribute ip::ip
-
entity
dns::MX
¶ Parents:
dns::Record
-
attribute dns::hoststring
server
¶
-
attribute number
priority
=10¶
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
dns::mxImpl
constrainttrue
-
attribute dns::hoststring
-
entity
dns::NS
¶ Parents:
dns::Record
-
attribute dns::hoststring
server
¶
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
dns::nsImpl
constrainttrue
-
attribute dns::hoststring
-
entity
dns::PTR
¶ Parents:
dns::Record
-
attribute string
name
¶
-
attribute ip::ip
ipaddress
¶
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
dns::ptrImpl
constrainttrue
-
attribute string
-
entity
dns::Record
¶ Parents:
std::Entity
A base class for high level record entities
-
attribute string
resource
=''¶
-
relation dns::Zone
zone
[1]¶
The following implements statements select implementations for this entity:
std::none
constrainttrue
-
attribute string
-
entity
dns::ResourceRecord
¶ Parents:
std::Entity
A generic dns resource record
-
attribute string
resource
=''¶
-
attribute string
value
¶
-
attribute string
record_type
¶
-
relation dns::Zone
zone
[1]¶ other end:
dns::Zone.records [0:*]
The following implements statements select implementations for this entity:
std::none
constrainttrue
-
attribute string
-
entity
dns::Server
¶ Parents:
ip::services::Server
,dns::DnsServer
A dns server
-
attribute bool
recursive
=true¶
-
attribute string
allow_recursion
=''¶
-
attribute string
forwarders
=''¶
-
attribute bool
-
entity
dns::SlaveZone
¶ Parents:
dns::Zone
The following implements statements select implementations for this entity:
std::none
constrainttrue
-
entity
dns::TXT
¶ Parents:
dns::Record
-
attribute string
data
¶
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
dns::txtImpl
constrainttrue
-
attribute string
-
entity
dns::Zone
¶ Parents:
std::Entity
A dns zone.
-
attribute string
hostmaster
¶
-
attribute string
domain
¶
-
attribute number
refresh
=7200¶
-
attribute number
retry
=600¶
-
attribute number
expiry
=1209600¶
-
attribute number
ttl
=3600¶
-
attribute bool
add_ns
=false¶
-
relation dns::DnsServer
master
[1]¶ other end:
dns::DnsServer.master_zones [0:*]
-
relation dns::DnsServer
slaves
[0:*]¶ other end:
dns::DnsServer.slave_zones [0:*]
-
relation dns::ResourceRecord
records
[0:*]¶ other end:
dns::ResourceRecord.zone [1]
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
std::none
constrainttrue
-
attribute string