"IP로 도메인 이름 알아내기"의 두 판 사이의 차이

90번째 줄: 90번째 줄:


==같이 보기==
==같이 보기==
*[[IP로 국가 알아내기]]
*[[도메인 이름으로 IP 알아내기]]
*[[도메인 이름으로 IP 알아내기]]
*[[ipcalc]]
*[[ipcalc]]

2015년 1월 4일 (일) 02:17 판

IP로 도메인 이름 알아내기
IP로 도메인명 확인

1 개요

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

2 윈도우

2.1 방법 1: nslookup

C:\Users\jmnote>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\jmnote>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\jmnote>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@jmnote ~]# ipcalc -h 8.8.8.8
HOSTNAME=google-public-dns-a.google.com

3.2 방법 2: nslookup

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

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

Authoritative answers can be found from:

3.3 방법 3: traceroute

[root@jmnote ~]# 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\jmnote>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\jmnote>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 }}