Sobes.tech
Junior

What DNS records do you know?

sobes.tech AI

Answer from AI

  • A (Address Record): Converts a hostname to an IPv4 address.
    www IN A 192.0.2.1  
    
  • AAAA (IPv6 Address Record): Converts a hostname to an IPv6 address.
    www IN AAAA 2001:0db8::1  
    
  • CNAME (Canonical Name Record): Creates an alias for another domain name.
    ftp IN CNAME www.example.com.  
    
  • MX (Mail Exchanger Record): Specifies mail servers responsible for receiving email for the domain.
    Creates an alias for another domain name.
    IN MX 10 mail.example.com.  
    IN MX 20 backupmail.example.com.  
    
  • TXT (Text Record): Contains textual information, often used for domain verification (e.g., SPF, DKIM).
    IN TXT "v=spf1 include:_spf.google.com ~all"  
    
  • PTR (Pointer Record): Performs reverse DNS resolution (from IP address to hostname). Used in PTR zones.
    1.2.0.192.in-addr.arpa IN PTR www.example.com.  
    
  • SRV (Service Record): Defines the location of services (e.g., ports) for the domain.
    _sip._tcp IN SRV 0 5 5060 sip.example.com.  
    
  • NS (Name Server Record): Specifies authoritative name servers for the domain.
    IN NS ns1.example.com.  
    IN NS ns2.example.com.  
    
  • SOA (Start of Authority Record): Contains primary zone information, including administrator email and zone synchronization parameters.
    IN SOA ns1.example.com. hostmaster.example.com. (  
                            2023102701 ; Serial  
                            3600       ; Refresh time  
                            1800       ; Retry time  
                            604800     ; Expire time  
                            86400      ; Minimum TTL  
                            )  
    
  • CAA (Certification Authority Authorization): Indicates which certification authorities are authorized to issue SSL/TLS certificates for the domain.
    IN CAA 0 issue "letsencrypt.org"