Domain Information Groper - Nameserver Tool
install
Check External IP
How To Find My Public IP Address From Command Line On a Linux - nixCraft
How do I find out my public IP address on the Linux and OS X Unix command line to use with my own bash shell script without using third party web site? Is there command-line option which will show my dynamic IP address on a Ubuntu or Fedora Linux?
https://www.cyberciti.biz/faq/how-to-find-my-public-ip-address-from-command-line-on-a-linux/

dig 명령어 - DNS네임서버의 정보 확인
dig란? dig는 Domain Information Groper의 약자로 네임서버로 부터 정보를 가져올 수 있는 툴입니다. dig 명령은 DNS 네임서버 구성과 도메인 설정이 완료된 후, 일반 사용자의 입장에서 설정한 도메인네임에 대한 DNS 질의응답이 정상적으로 이루어지는지를 확인 점검 하는 경우에 많이 사용합니다. dig 명령어 패키지 유틸리티 설치 [root@web ~]# yum -y install bind-utils dig는 dns query lookup을 하기 위한 bind-utils 패키지에 속해 있는 유틸리티 입니다.
https://server-talk.tistory.com/126

Seonglae Cho