리눅스에서 DNS 서버 점검

리눅스에서 DNS 서버 점검
리눅스 DNS 점검

1 비정상 예시[ | ]

[root@zetadb ~]# nslookup 
> server
Default server: 135.79.246.10
Address: 135.79.246.10#53
Default server: 135.79.246.11
Address: 135.79.246.11#53
> exit
[root@zetadb ~]# nc -z 135.79.246.10 53
Connection to 135.79.246.10 53 port [tcp/domain] succeeded!
[root@zetadb ~]# nc -z 135.79.246.11 53
Connection to 135.79.246.11 53 port [tcp/domain] succeeded!
[root@zetadb ~]# nslookup 
> naver.com
;; Got SERVFAIL reply from 135.79.246.11, trying next server
Server:		135.79.246.10
Address:	135.79.24610#53

** server can't find naver.com: NXDOMAIN
> naver.com
;; Got SERVFAIL reply from 135.79.246.11, trying next server
;; connection timed out; no servers could be reached
> daum.net
;; connection timed out; no servers could be reached

2 정상 예시[ | ]

[root@zetawiki ~]# nslookup
> server
Default server: 135.79.246.82
Address: 135.79.246.82#53
Default server: 135.79.86.1
Address: 135.79.86.1#53
> naver.com
Server:		135.79.246.82
Address:	135.79.246.82#53

Non-authoritative answer:
Name:	naver.com
Address: 125.209.222.141
Name:	naver.com
Address: 125.209.222.142
Name:	naver.com
Address: 202.179.177.22
Name:	naver.com
Address: 202.179.177.21
> daum.net
Server:		135.79.246.82
Address:	135.79.246.82#53

Non-authoritative answer:
Name:	daum.net
Address: 114.108.157.19
Name:	daum.net
Address: 114.108.157.50
Name:	daum.net
Address: 110.45.215.23
Name:	daum.net
Address: 61.111.62.173

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}