propellor-5.3.6: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Types.Dns

Synopsis

Documentation

newtype DnsInfoPropagated Source #

Use this for DNS Info that should propagate from a container to a host. For example, this can be used for CNAME to make aliases of the containers in the host be reflected in the DNS.

newtype DnsInfoUnpropagated Source #

Use this for DNS Info that should not propagate from a container to a host. For example, an IP address of a container should not influence the host.

getDnsInfo :: Info -> Set Record Source #

Get all DNS Info.

data Zone Source #

Represents a bind 9 zone file.

Constructors

Zone 

Fields

data SOA Source #

Every domain has a SOA record, which is big and complicated.

Constructors

SOA 

Fields

Instances

type ReverseIP = String Source #

An in-addr.arpa record corresponding to an IPAddr.

canonicalIP :: IPAddr -> IPAddr Source #

Converts an IP address (particularly IPv6) to canonical, fully expanded form.

type SerialNumber = Word32 Source #

Bind serial numbers are unsigned, 32 bit integers.

data BindDomain Source #

Domains in the zone file must end with a period if they are absolute.

Let's use a type to keep absolute domains straight from relative domains.

The RootDomain refers to the top level of the domain, so can be used to add nameservers, MX's, etc to a domain.