[질문] nslookup vs dig

까나리의 이미지

[root@han313 ~]# nslookup
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.

nslookup 이 차후버전에는 사라지고 dig 이나 host 로 대체된다고 합니다.

nsloookup 이 나쁜 도구인가요? 아니면 dig 과는 어떤 차이점이 있는지 알려주세요 +_+

지리즈의 이미지

dig는 nslookup보다 더욱 디테일하게 정보를 받아 올 수 있으며,
class query, UDP쿼리,TCP쿼리등, DNS서버와 존파일의
이상여부, 존파일 트랜스퍼, 보안상태까지 점검할 수 있는 스위스 만능칼같은 녀석이죠.

host는 nslookup과 비슷한 수준의 정보를 제공하는데,
리버스 쿼리(IP로 네임조회하기)기능도 제공을 해줍니다.

host와 비슷한 수준의 정보를 제공한 nslookup 치명적인 결점은
nslookup 예약어로되어 있는 네임은 쿼리할 수 없다는 점입니다.(lserver,quit. ..)

없어질만 하죠?

There is no spoon. Neo from the Matrix 1999.