[linux] nslookup 예제 정리
- IT
- 2020. 7. 1.
반응형
반응형
# nslookup tistory.com # 도메인에 대한 IP 조회 |
[root@linux-1 ~]# nslookup tistory.com
Server: 1.214.68.2
Address: 1.214.68.2#53
Non-authoritative answer:
Name: tistory.com
Address: 211.231.108.151
# nslookup -query=mx tistory.com # MX 레코드 조회 |
[root@linux-1 ~]# nslookup -query=mx tistory.com
Server: 1.214.68.2
Address: 1.214.68.2#53
Non-authoritative answer:
tistory.com mail exchanger = 20 alt.aspmx.daum.net.
tistory.com mail exchanger = 10 aspmx.daum.net.
# nslookup -type=soa tistory.com # soa 레코드 조회 |
[root@linux-1 ~]# nslookup -type=soa bugs.co.kr
Server: 1.214.68.2
Address: 1.214.68.2#53
Non-authoritative answer:
bugs.co.kr
origin = a1-102.akam.net
mail addr = webmaster.toastoven.net
serial = 2020042902
refresh = 21600
retry = 1800
expire = 1209600
minimum = 180
# nslookup -type=ns tistory.com # 네임서버 조회 |
[root@linux-1 ~]# nslookup -type=ns tistory.com
Server: 1.214.68.2
Address: 1.214.68.2#53
Non-authoritative answer:
tistory.com nameserver = ns1.daum.net.
tistory.com nameserver = ns2.daum.net.
# nslookup -type=txt tistory.com # txt 레코드 조회 |
[root@linux-1 ~]# nslookup -type=txt tistory.com
Server: 1.214.68.2
Address: 1.214.68.2#53
Non-authoritative answer:
tistory.com text = "google-site-verification=NkuBXYNkDXtBpx7xpXGO-vBUVn-MUnseVVe39go0KFI"
tistory.com text = "v=spf1 include:_spf.daum.net ~all"
# nslookup -type=any youtube.com # any 레코드 조회 |
[root@linux-1 ~]# nslookup -type=any youtube.com
Server: 1.214.68.2
Address: 1.214.68.2#53
Non-authoritative answer:
youtube.com nameserver = ns3.google.com.
youtube.com text = "facebook-domain-verification=64jdes7le4h7e7lfpi22rijygx58j1"
youtube.com nameserver = ns2.google.com.
youtube.com mail exchanger = 40 alt3.aspmx.l.google.com.
youtube.com text = "google-site-verification=QtQWEwHWM8tHiJ4s-jJWzEQrD_fF3luPnpzNDH-Nw-w"
Name: youtube.com
Address: 172.217.31.238
youtube.com nameserver = ns4.google.com.
Name: youtube.com
Address: 2404:6800:4005:80c::200e
youtube.com mail exchanger = 30 alt2.aspmx.l.google.com.
youtube.com nameserver = ns1.google.com.
youtube.com rdata_257 = 0 issue "pki.goog"
youtube.com text = "v=spf1 include:google.com mx -all"
youtube.com
origin = ns1.google.com
mail addr = dns-admin.google.com
serial = 318779170
refresh = 900
retry = 900
expire = 1800
minimum = 60
youtube.com mail exchanger = 10 aspmx.l.google.com.
youtube.com mail exchanger = 20 alt1.aspmx.l.google.com.
youtube.com mail exchanger = 50 alt4.aspmx.l.google.com.
# nslookup tistory.com 8.8.8.8 # 다른 DNS 서버를 지정하여 조회 |
[root@linux-1 ~]# nslookup tistory.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: tistory.com
Address: 211.231.108.151
반응형
'IT' 카테고리의 다른 글
[Linux] 리눅스 CD 명령어 예제 (0) | 2020.07.05 |
---|---|
[Linux] hpssacli 명령어 정리 (0) | 2020.07.03 |
[Linux] Apache Kafka(아파치 카프카) 설치 (0) | 2020.06.26 |
[Linux] Glusterfs 설치 및 기본 사용법 (0) | 2020.06.24 |
[Linux] SSL 인증서 만료일 확인 (0) | 2020.06.17 |