Create a DNS Record

DurableDNS supports most DNS record types. See the below list of supported types:

  • A – Address Record – Most commonly used to map hostnames to an IPv4 address of the host.
  • AAAA – IPv6 Address Record – Most commonly used to maps hostnames to an IPv6 address of the host.
  • CNAME – Canonical Name Record – Alias of one name to another.
  • MX – Mail Exchange Record – Maps a domain name to a list of mail exchange servers (SMTP) for that domain.
  • NS – Name Server Record – Delegates a DNS zone to use the given authoritative name servers.
  • PTR – Pointer Record – Pointer to a canonical name. Unlike a CNAME, DNS processing does not proceed, just the name is returned. PTR is most commonly used when implementing reverse DNS lookups.
  • SRV – Service Locator – Generalized service location record, used for newer protocols instead of creating protocol-specific records such as MX.
  • TXT – Text Record – Originally for arbitrary human-readable text in a DNS record. Since the early 1990s, however, this record more often carries machine-readable data, such as Sender Policy Framework, DomainKeys, DNS-SD, etc.

In most cases you'll need at least three pieces of information to create a new record: the record name, the record data, and the TTL (or time-to-live) for the record. The record name is generally a host name. The record data is generally an IP address (for an A record) or a hostname (for a CNAME, MX, or NS record). The TTL is the time, in seconds, that resolving DNS servers are allowed to cache the record.

 
dns/createrecord.txt · Last modified: 2010/01/07 19:59 (external edit)