IP로 도메인 이름 알아내기

Jmnote (토론 | 기여)님의 2016년 10월 3일 (월) 21:38 판 (121.143.173.252(토론)의 편집을 Jmnote bot의 마지막 판으로 되돌림)

1 개요

IP로 도메인 이름 알아내기
IP로 도메인명 알아내기
IP로 도메인명 확인
  • 모든 IP의 도메인 이름을 알아낼 수 있는 것은 아니다.
  • 도메인 이름이 없는 IP도 있을 수 있다. 예를 들어 대부분의 PC는 도메인 이름이 없다.
  • 서버 쪽에서 찾을 수 없도록 설정해둔 경우도 있다.

2 윈도우

2.1 방법 1: nslookup

C:\Users\zetawiki>nslookup 8.8.8.8
서버:    google-public-dns-a.google.com
Address:  8.8.8.8

이름:    google-public-dns-a.google.com
Address:  8.8.8.8
C:\Users\zetawiki>nslookup 98.139.127.62
서버:    google-public-dns-a.google.com
Address:  8.8.8.8

이름:    ir2.fp.vip.sp2.yahoo.com
Address:  98.139.127.62

2.2 방법 2: tracert

C:\Users\zetawiki>tracert 98.139.127.62

최대 30홉 이상의
ir2.fp.vip.sp2.yahoo.com [98.139.127.62](으)로 가는 경로 추적:

  1    <1 ms    <1 ms    <1 ms  192.168.0.1
... (생략)

3 리눅스

3.1 방법 1: ipcalc

[root@zetawiki ~]# ipcalc -h 8.8.8.8
HOSTNAME=google-public-dns-a.google.com

3.2 방법 2: dig

[root@zetawiki ~]# dig +short -x 8.8.8.8
google-public-dns-a.google.com.

3.3 방법 3: nslookup

[root@zetawiki ~]#  nslookup 8.8.8.8
Server:		192.168.245.2
Address:	192.168.245.2#53

Non-authoritative answer:
8.8.8.8.in-addr.arpa	name = google-public-dns-a.google.com.

Authoritative answers can be found from:
8.8.8.in-addr.arpa	nameserver = ns3.google.com.
8.8.8.in-addr.arpa	nameserver = ns1.google.com.
8.8.8.in-addr.arpa	nameserver = ns4.google.com.
8.8.8.in-addr.arpa	nameserver = ns2.google.com.
ns1.google.com	internet address = 216.239.32.10
ns2.google.com	internet address = 216.239.34.10
ns3.google.com	internet address = 216.239.36.10
ns4.google.com	internet address = 216.239.38.10

3.4 방법 4: traceroute

[root@zetawiki ~]# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
 1  192.168.0.1 (192.168.0.1)  2.510 ms  2.401 ms  2.335 ms
... (생략)
15  * * *
16  google-public-dns-a.google.com (8.8.8.8)  70.546 ms  71.116 ms  70.643 ms

4 못 찾는 경우

도메인으로 IP를 찾는 일은 항상 가능하지만, IP로 도메인을 찾는 일은 항상 가능한 것은 아니다.[1]

C:\Users\zetawiki>nslookup naver.com
서버:    google-public-dns-a.google.com
Address:  8.8.8.8

권한 없는 응답:
이름:    naver.com
Addresses:  220.95.233.171
          220.95.233.172
          202.131.30.11
          202.131.30.12

C:\Users\zetawiki>nslookup 220.95.233.171
서버:    google-public-dns-a.google.com
Address:  8.8.8.8

*** google-public-dns-a.google.com이(가) 220.95.233.171을(를) 찾을 수 없습니다.
Non-existent domain

5 같이 보기

6 주석

  1. IP만 있고, 도메인과 연결하지 않은 컴퓨터도 있기 때문이다.
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}