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

Safe HaskellNone
LanguageHaskell98

Propellor.Info

Synopsis

Documentation

ipv4 :: String -> Property HasInfo Source

Indidate that a host has an A record in the DNS.

When propellor is used to deploy a DNS server for a domain, the hosts in the domain are found by looking for these and similar properites.

When propellor --spin is used to deploy a host, it checks if the host's IP Property matches the DNS. If the DNS is missing or out of date, the host will instead be contacted directly by IP address.

ipv6 :: String -> Property HasInfo Source

Indidate that a host has an AAAA record in the DNS.

alias :: Domain -> Property HasInfo Source

Indicates another name for the host in the DNS.

When the host's ipv4/ipv6 addresses are known, the alias is set up to use their address, rather than using a CNAME. This avoids various problems with CNAMEs, and also means that when multiple hosts have the same alias, a DNS round-robin is automatically set up.