linux 의 dig 명령어는
기본 사용법은 다음과 같다.
$>dig www.geeksaga.com ; <<>> DiG 9.10.3-P4-Ubuntu <<>> www.geeksaga.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29343 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1452 ;; QUESTION SECTION: ;www.geeksaga.com. IN A ;; ANSWER SECTION: www.geeksaga.com. 10331 IN A 185.199.109.153 www.geeksaga.com. 10331 IN A 185.