Domini

Visão geral

Un dominio annesso: il suo stato, i suoi records, il suo mail, e se ci passe a noi è ancora salubre.

records, hosting and mailstatus is proof
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

MembroFunção
check()Re-legge la zona. Questo è lo que move status.
migrazione()Se commutasse ora rompera ningun?
serve() · unserve()Fare un nome d'host realmente servir.
remove()Atacha.
recordslist · set · remove · import.
mailenable · status · hosts · dmarc · bimi · disable.
attach() · attachments()Put a host of the account behind the name.
redirectsSend www — or the root — somewhere else.
owner() · tls()The registry's view, and the certificates.
dnssec · verify()Sign the zone; prove the domain to a service.

Ce porta

namestring

Dominio.

statusstring

pending_nameservers fino a che l'inregistratore punticòsqui; active apròs.

nameserversstring[]

Qua impostare al registrari. Lee-le; mai hardcode una paira.

dnsobject

{ mxOk, spfOk, dkimOk, dmarcOk, checkedAt } — i testimoni del mail.

importedobject

{ found, added, at } — o che la presa ha trovato e copiato.

mailHostsarray

Hostens onde la posta è activata, cada uno con il selector e i testimoni.

registrarstring

Chi l'ha registrat.

Un host, non un dominio

L'apex e un subdominio sono separati per la posta

Cada uno ha i suoi propri records, la sua propria chiave e la sua politica — un record apex non copre un subdominio. mailHosts è una lista per essa ragione, e ogni appelo de posta prend un subdominio.

La sequencia usual

const domain = await api.domains.get("example.com");

await domain.migration();          // safe to switch?
await domain.records.import();     // if not
await domain.check();              // until status is "active"
await domain.mail.enable();        // then mail
domain = api.domains.get("example.com")

domain.migration()            # safe to switch?
domain.records.import_zone()  # if not
domain.check()                # until status is "active"
domain.mail.enable()          # then mail