nslookup 명령어 사용법

 

시작 -> cmd

 


?default 서버 설정

 

 

C:\Users\rukawa>nslookup
기본 서버: kns.kornet.net
Address: 168.126.63.1

>

> server 192.168.0.1
기본 서버: [192.168.0.1]
Address: 192.168.0.1
 

 

?MX 레코드 확인

 

 

> set type=mx
> naver.com
서버: [192.168.0.1]
Address: 192.168.0.1

권한 없는 응답:
naver.com MX preference = 10, mail exchanger = mx2.naver.com
naver.com MX preference = 10, mail exchanger = mx3.naver.com
naver.com MX preference = 10, mail exchanger = mx-1.naver.com

naver.com nameserver = ns2.naver.com
naver.com nameserver = ns1.naver.com
naver.com nameserver = ns3.naver.com
mx2.naver.com internet address = 202.131.27.96
mx3.naver.com internet address = 202.131.27.102
mx-1.naver.com internet address = 202.131.27.117
ns1.naver.com internet address = 119.205.240.165
ns2.naver.com internet address = 61.247.202.123
ns3.naver.com internet address = 175.158.30.90
 

 

 

 

?spf 레코드 확인

 


> set type=txt
> naver.com
서버: [192.168.0.1]
Address: 192.168.0.1
권한 없는 응답:
naver.com text =

 "v=spf1 include:_spfblocka.naver.com include:_spfblockb.naver.com includ
e:_spfblockc.naver.com ~all"

naver.com nameserver = ns3.naver.com
naver.com nameserver = ns2.naver.com
naver.com nameserver = ns1.naver.com
ns1.naver.com internet address = 119.205.240.165
ns2.naver.com internet address = 61.247.202.123
ns3.naver.com internet address = 175.158.30.90
>
 

 

 

 

 

?default 네임서버 설정

 

 

 C:\Users\rukawa>nslookup naver.com 168.126.63.1
서버: kns.kornet.net
Address: 168.126.63.1

권한 없는 응답:
이름: naver.com
Addresses: 222.122.195.6
 202.131.29.70
 202.131.29.71
 222.122.195.5

 

 

 

 

 

?MX 레코드 확인

 

 

C:\Users\rukawa>nslookup -querytype=mx naver.com
서버: kns.kornet.net
Address: 168.126.63.1

권한 없는 응답:
naver.com MX preference = 10, mail exchanger = mx3.naver.com
naver.com MX preference = 10, mail exchanger = mx-1.naver.com
naver.com MX preference = 10, mail exchanger = mx2.naver.com

naver.com nameserver = ns3.naver.com
naver.com nameserver = ns2.naver.com
naver.com nameserver = ns1.naver.com
mx2.naver.com internet address = 202.131.27.96
mx3.naver.com internet address = 202.131.27.102
mx-1.naver.com internet address = 202.131.27.117
ns1.naver.com internet address = 119.205.240.165
ns2.naver.com internet address = 61.247.202.123
ns3.naver.com internet address = 175.158.30.90
 

 


?SPF 레코드확인

 

 

C:\Users\rukawa>nslookup -querytype=txt naver.com
서버: kns.kornet.net
Address: 168.126.63.1

권한 없는 응답:
naver.com text =

 "v=spf1 include:_spfblocka.naver.com include:_spfblockb.naver.com includ
e:_spfblockc.naver.com ~all"

naver.com nameserver = ns3.naver.com
naver.com nameserver = ns1.naver.com
naver.com nameserver = ns2.naver.com
ns1.naver.com internet address = 119.205.240.165
ns2.naver.com internet address = 61.247.202.123
ns3.naver.com internet address = 175.158.30.90
 

 

 

[출처] nslookup 명령어 사용법|작성자 루카와

 

http://blog.rukawa.co.kr/10090055946

'Linux > Open tools' 카테고리의 다른 글

리눅스 네트워크 모니터링 프로그램  (0) 2012.05.31
네트워크 진단 하기 - 각종툴  (0) 2012.05.31
nslookup 사용법  (0) 2012.05.31
netstat 사용법 정리  (0) 2012.05.31
ssh 로그인 후 특정 위치로 바로 이동  (0) 2012.02.08