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?

Linux:ドメイン名のIPアドレスを確認

Last updated at Posted at 2025-10-07

今回は,入力したドメイン名(例:www.google.com)から"IPアドレス"をコマンドで確認する.

用意するもの

  • ドメイン名
    例:www.google.com

コマンド

host IPアドレスを確認したいドメイン名

コマンドの使用例

ドメイン名(例:www.google.com)からIPアドレスを確認した.

$host www.google.com
# 出力結果
www.google.com has address 172.217.25.164
www.google.com has IPv6 address 2404:6800:400a:80a::2004

今回はコマンドで指定したドメイン名のIPアドレスを紹介したが,この技術はDNSサーバーで使われています.普段インターネットを使用している私たちからは見えませんが,このようなものがあるのだと知っていただけたら幸いです.

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?