0
0

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.

各種DNSレコード(A,TXT, NS, MX, ..) をdigで一発でdigる

Posted at

毎回忘れるのでここにかいておく
(digはオプション指定しないとDNSレコード以外の情報があって見にくい + パースしにくいんんですよね)

$ dig @8.8.8.8  +nocmd +nostats +nocomments +noques qiita.com any
qiita.com.              59      IN      A       13.114.93.234
qiita.com.              59      IN      A       54.92.88.68
qiita.com.              59      IN      A       54.249.143.121
qiita.com.              299     IN      NS      ns-1049.awsdns-03.org.
qiita.com.              299     IN      NS      ns-171.awsdns-21.com.
qiita.com.              299     IN      NS      ns-1956.awsdns-52.co.uk.
qiita.com.              299     IN      NS      ns-772.awsdns-32.net.
qiita.com.              299     IN      SOA     ns-1956.awsdns-52.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
qiita.com.              299     IN      MX      10 aspmx.l.google.com.
qiita.com.              299     IN      MX      20 alt1.aspmx.l.google.com.
qiita.com.              299     IN      MX      20 alt2.aspmx.l.google.com.
qiita.com.              299     IN      MX      30 aspmx2.googlemail.com.
qiita.com.              299     IN      MX      30 aspmx3.googlemail.com.
qiita.com.              299     IN      MX      30 aspmx4.googlemail.com.
qiita.com.              299     IN      MX      30 aspmx5.googlemail.com.
qiita.com.              299     IN      TXT     "pardot859913=459e91b4646f79a9dc3bb58970676deab274ab5fb48dbb4a2ae1f01950a469f5"
qiita.com.              299     IN      TXT     "v=spf1 include:_spf.google.com include:amazonses.com include:servers.mcsv.net include:mail.zendesk.com include:aspmx.pardot.com a:qiita.com ~all"
qiita.com.              59      IN      AAAA    2406:da14:add:902:3867:685d:c093:172
qiita.com.              59      IN      AAAA    2406:da14:add:901:7e91:543:a91a:8490
qiita.com.              59      IN      AAAA    2406:da14:add:900:8075:db7d:2398:433c
qiita.com.              299     IN      SPF     "v=spf1 include:_spf.google.com include:amazonses.com include:servers.mcsv.net include:mail.zendesk.com include:aspmx.pardot.com a:qiita.com ~all"
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?