最終更新:2024-03-01 (金) 12:46:24 (54d)  

MXレコード
Top / MXレコード

Mail eXchange

特定のドメイン宛ての電子メールをどのメールサーバーに転送すればいいかを指定

RFC

  • RFC 1035?
  • RFC 7505?

確認

dig

  • dig MX example.com
    
    ; <<>> DiG 9.18.24-1-Debian <<>> MX example.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33563
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 5
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 1232
    ;; QUESTION SECTION:
    ;example.com.			IN	MX
    
    ;; ANSWER SECTION:
    example.com.		86400	IN	MX	0 .
    
    ;; AUTHORITY SECTION:
    example.com.		11190	IN	NS	b.iana-servers.net.
    example.com.		11190	IN	NS	a.iana-servers.net.
    
    ;; ADDITIONAL SECTION:
    a.iana-servers.net.	25442	IN	AAAA	2001:500:8f::53
    b.iana-servers.net.	25442	IN	AAAA	2001:500:8d::53
    a.iana-servers.net.	25442	IN	A	199.43.135.53
    b.iana-servers.net.	25442	IN	A	199.43.133.53