3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

nslookup でメールサーバを調べる

Posted at

以下のコマンドでメールの設定情報を調べることができる。
(gmailで試して見た。)

$ nslookup
> set type=MX
> gmail.com

# 以下出力結果

Server:		xxx.xxx.xxx.xxx
Address:	xxx.xxx.xxx.xxx#x

Non-authoritative answer:
gmail.com	mail exchanger = 20 alt2.gmail-smtp-in.l.google.com.
gmail.com	mail exchanger = 30 alt3.gmail-smtp-in.l.google.com.
gmail.com	mail exchanger = 5 gmail-smtp-in.l.google.com.
gmail.com	mail exchanger = 10 alt1.gmail-smtp-in.l.google.com.
gmail.com	mail exchanger = 40 alt4.gmail-smtp-in.l.google.com.

Authoritative answers can be found from:
gmail.com	nameserver = ns3.google.com.
gmail.com	nameserver = ns2.google.com.
gmail.com	nameserver = ns4.google.com.
gmail.com	nameserver = ns1.google.com.
ns2.google.com	internet address = 216.239.34.10
ns1.google.com	internet address = 216.239.32.10
ns3.google.com	internet address = 216.239.36.10
ns4.google.com	internet address = 216.239.38.10

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?