도메인명으로 IP 확인 편집하기

경고: 로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다. 로그인하거나 계정을 생성하면 편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.

편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.

최신판 당신의 편집
7번째 줄: 7번째 줄:
==윈도우==
==윈도우==
===방법 1: ping===
===방법 1: ping===
<syntaxhighlight lang='doscon'>
<source lang='cli'>
C:\Users\zetawiki>ping google.com
C:\Users\zetawiki>ping google.com


20번째 줄: 20번째 줄:
왕복 시간(밀리초):
왕복 시간(밀리초):
     최소 = 32ms, 최대 = 34ms, 평균 = 32ms
     최소 = 32ms, 최대 = 34ms, 평균 = 32ms
</syntaxhighlight>
</source>


===방법 2: nslookup===
===방법 2: nslookup===
<syntaxhighlight lang='doscon'>
<source lang='cli'>
C:\Users\zetawiki>nslookup google.com
C:\Users\zetawiki>nslookup google.com
서버:    google-public-dns-a.google.com
서버:    google-public-dns-a.google.com
29번째 줄: 29번째 줄:


권한 없는 응답:
권한 없는 응답:
이름:    www.naver.com
이름:    google.com
Addresses:  173.194.38.83
Addresses:  173.194.38.83
           173.194.38.84
           173.194.38.84
35번째 줄: 35번째 줄:
           173.194.38.81
           173.194.38.81
           173.194.38.82
           173.194.38.82
</syntaxhighlight>
</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]]이다.


===방법 3: tracert===
===방법 3: tracert===
<syntaxhighlight lang='doscon'>
<source lang='cli'>
C:\Users\zetawiki>tracert kt928.com
C:\Users\zetawiki>tracert google.com


최대 30홉 이상의
최대 30홉 이상의
50번째 줄: 50번째 줄:


추적을 완료했습니다.
추적을 완료했습니다.
</syntaxhighlight>
</source>


==리눅스==
==리눅스==
===방법 1: host===
===방법 1: ping===
{{참고|리눅스 host}}
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# host yahoo.com
yahoo.com has address 98.139.183.24
yahoo.com has address 206.190.36.45
yahoo.com has address 98.138.253.109
yahoo.com mail is handled by 1 mta5.am0.yahoodns.net.
yahoo.com mail is handled by 1 mta6.am0.yahoodns.net.
yahoo.com mail is handled by 1 mta7.am0.yahoodns.net.
</syntaxhighlight>
 
===방법 2: ping===
<syntaxhighlight lang='console'>
[root@zetawiki ~]# ping google.com -c 1
[root@zetawiki ~]# ping google.com -c 1
PING google.com (173.194.127.110) 56(84) bytes of data.
PING google.com (173.194.127.110) 56(84) bytes of data.
74번째 줄: 62번째 줄:
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
</syntaxhighlight>
</source>
:→ 173.194.127.110
:→ 173.194.127.110


===방법 3: nslookup===
===방법 2: nslookup===
<syntaxhighlight lang='console'>
<source lang='cli'>
[root@zetawiki ~]# nslookup google.com
[root@zetawiki ~]# nslookup google.com
Server: 8.8.8.8
Server: 8.8.8.8
106번째 줄: 94번째 줄:
Name: google.com
Name: google.com
Address: 173.194.127.96
Address: 173.194.127.96
</syntaxhighlight>
</source>
 
===방법 3: host===
<source lang='cli'>
[root@zetawiki ~]# host yahoo.com
yahoo.com has address 98.139.183.24
yahoo.com has address 206.190.36.45
yahoo.com has address 98.138.253.109
yahoo.com mail is handled by 1 mta5.am0.yahoodns.net.
yahoo.com mail is handled by 1 mta6.am0.yahoodns.net.
yahoo.com mail is handled by 1 mta7.am0.yahoodns.net.
</source>


===방법 4: dig===
===방법 4: dig===
<syntaxhighlight lang='console'>
<source lang='cli'>
[root@zetawiki ~]# dig any google.com
[root@zetawiki ~]# dig any google.com
;; Truncated, retrying in TCP mode.
;; Truncated, retrying in TCP mode.
152번째 줄: 151번째 줄:
;; WHEN: Sat Dec  7 08:48:50 2013
;; WHEN: Sat Dec  7 08:48:50 2013
;; MSG SIZE  rcvd: 577
;; MSG SIZE  rcvd: 577
</syntaxhighlight>
</source>


==같이 보기==
==같이 보기==
*[[IP로 도메인 이름 알아내기]]
*[[IP로 도메인 이름 알아내기]]
*[[리눅스 특정 DNS로 도메인 조회‎]]
*[[윈도우 ping]]
*[[윈도우 ping]]
*[[/usr/bin/dig]]
*[[/usr/bin/dig]]

제타위키에서의 모든 기여는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스로 배포된다는 점을 유의해 주세요(자세한 내용에 대해서는 제타위키:저작권 문서를 읽어주세요). 만약 여기에 동의하지 않는다면 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다. 저작권이 있는 내용을 허가 없이 저장하지 마세요!

취소 편집 도움말 (새 창에서 열림)

이 문서에서 사용한 틀: