SaltDns. Registrar. Domain
(Salt v1.0.0)
A domain name held (or being bought) at a registrar provider.
A row exists once the registrar has taken an order for the name. status is
:pending (the registrar is still working), :active, :expired,
:deleted or :unknown (the registrar sent a status Salt does not know).
The orders themselves are in SaltDns.Registrar.Operation. Money is
cost_minor in minor units of cost_currency (cents for EUR and USD), the
price Salt confirmed with the registrar just before buying. fqdn is lower
case, in A-label form.
name_servers holds the host names; name_server_addresses holds the glue
addresses of the in-bailiwick ones, keyed by name, as
%{"ipv4" => "...", "ipv6" => "..."} with only the families present. See
SaltDns.Registrar.NameServers.
Summary
Functions
The statuses.
Types
@type t() :: %SaltDns.Registrar.Domain{ __meta__: term(), autorenew: term(), can_renew: term(), cost_currency: term(), cost_minor: term(), dnssec: term(), expires_at: term(), fqdn: term(), id: term(), inserted_at: term(), last_error: term(), last_synced_at: term(), locked: term(), name_server_addresses: term(), name_servers: term(), organisation: term(), organisation_id: term(), owner_contact_ref: term(), privacy: term(), provider: term(), provider_id: term(), quarantine_until: term(), registered_on: term(), registrar_ref: term(), renewal_date: term(), restorable_until: term(), status: term(), updated_at: term() }
Functions
@spec statuses() :: [atom()]
The statuses.