편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
1번째 줄: | 1번째 줄: | ||
==개요== | ==개요== | ||
;도메인명으로 IP 확인 | ;도메인명으로 IP 확인 | ||
;도메인 이름으로 IP 알아내기 | ;도메인 이름으로 IP 알아내기 | ||
*윈도우에서는 nslookup, ping, tracert와 같은 명령어로 간단히 알 수 있다. | *윈도우에서는 nslookup, ping, tracert와 같은 명령어로 간단히 알 수 있다. | ||
==윈도우== | ==윈도우== | ||
=== | ===ping=== | ||
< | <source lang='dos'> | ||
C:\Users\ | C:\Users\jmnote>ping google.com | ||
Ping google.com [173.194.38.83] 32바이트 데이터 사용: | Ping google.com [173.194.38.83] 32바이트 데이터 사용: | ||
20번째 줄: | 19번째 줄: | ||
왕복 시간(밀리초): | 왕복 시간(밀리초): | ||
최소 = 32ms, 최대 = 34ms, 평균 = 32ms | 최소 = 32ms, 최대 = 34ms, 평균 = 32ms | ||
</ | </source> | ||
=== | ===nslookup=== | ||
< | <source lang='dos'> | ||
C:\Users\ | C:\Users\jmnote>nslookup google.com | ||
서버: google-public-dns-a.google.com | 서버: google-public-dns-a.google.com | ||
Address: 8.8.8.8 | Address: 8.8.8.8 | ||
권한 없는 응답: | 권한 없는 응답: | ||
이름: | 이름: google.com | ||
Addresses: 173.194.38.83 | Addresses: 173.194.38.83 | ||
173.194.38.84 | 173.194.38.84 | ||
35번째 줄: | 34번째 줄: | ||
173.194.38.81 | 173.194.38.81 | ||
173.194.38.82 | 173.194.38.82 | ||
</ | </source> | ||
:→ google.com은 5개의 IP로 분산처리(Load Balancing)되며 내 요청에 응답하는 IP는 173.194.38.83이다. | :→ google.com은 5개의 IP로 분산처리(Load Balancing)되며 내 요청에 응답하는 IP는 173.194.38.83이다. | ||
:→ 필자는 DNS를 구글 것으로 사용하며, [[구글 DNS]]의 IP는 [[8.8.8.8]]이다. | :→ 필자는 DNS를 구글 것으로 사용하며, [[구글 DNS]]의 IP는 [[8.8.8.8]]이다. | ||
=== | ===tracert=== | ||
< | <source lang='dos'> | ||
C:\Users\ | C:\Users\jmnote>tracert google.com | ||
최대 30홉 이상의 | 최대 30홉 이상의 | ||
50번째 줄: | 49번째 줄: | ||
추적을 완료했습니다. | 추적을 완료했습니다. | ||
</ | </source> | ||
==리눅스== | ==리눅스== | ||
=== | ===ping=== | ||
<source lang='dos'> | |||
[root@jmnote ~]# ping google.com -c 1 | |||
< | |||
[root@ | |||
PING google.com (173.194.127.110) 56(84) bytes of data. | PING google.com (173.194.127.110) 56(84) bytes of data. | ||
64 bytes from hkg03s12-in-f14.1e100.net (173.194.127.110): icmp_seq=1 ttl=52 time=68.7 ms | 64 bytes from hkg03s12-in-f14.1e100.net (173.194.127.110): icmp_seq=1 ttl=52 time=68.7 ms | ||
74번째 줄: | 61번째 줄: | ||
1 packets transmitted, 1 received, 0% packet loss, time 133ms | 1 packets transmitted, 1 received, 0% packet loss, time 133ms | ||
rtt min/avg/max/mdev = 68.767/68.767/68.767/0.000 ms | rtt min/avg/max/mdev = 68.767/68.767/68.767/0.000 ms | ||
</ | </source> | ||
:→ 173.194.127.110 | :→ 173.194.127.110 | ||
=== | ===dig=== | ||
<source lang='dos'> | |||
[root@jmnote ~]# dig any google.com | |||
< | |||
[root@ | |||
;; Truncated, retrying in TCP mode. | ;; Truncated, retrying in TCP mode. | ||
152번째 줄: | 108번째 줄: | ||
;; WHEN: Sat Dec 7 08:48:50 2013 | ;; WHEN: Sat Dec 7 08:48:50 2013 | ||
;; MSG SIZE rcvd: 577 | ;; MSG SIZE rcvd: 577 | ||
</ | </source> | ||
==같이 보기== | ==같이 보기== | ||
*[[IP로 도메인 이름 알아내기]] | *[[IP로 도메인 이름 알아내기]] | ||
*[[윈도우 ping]] | *[[윈도우 ping]] | ||
*[[ | *[[dig]] | ||
*[[도메인명]] | *[[도메인명]] | ||
*[[IP 주소]] | *[[IP 주소]] | ||
[[분류:네트워크]] | [[분류:네트워크]] |