dig ã³ãã³ãã§DNSéå¼ããããã
DNSã®éå¼ãããã¦IPãããã¹ãåã確èªããããã¨ãç¨ã«ããã¾ããç 究ç¨ã«ã°ãã¼ãã«IPãæ°åååãã¦ãã¾ãã大å¦ãªã®ã§ä»¥å使ã£ã¦ãã人ãããã¡ã¤ã³ãæ¯ããã¦ãããã¾ããã¡ããã¨ç³è«ãã¦DNSç»é²ãã¦ããã ãã©ã以å使ã£ã¦äººããã解ããªãã®ã§ãç³è«ç¨ã«èª¿ã¹ç´ãå¿ è¦ããã£ããéå¼ãã³ãã³ããå¿ãã¦ããã®ã§ã¡ã¢ã
dig -x IP_ADDR
ãã¼ã ãµã¼ãã¼ãæå®ãããã¨ã§ãã¼ã«ã«ã解決ã§ãã¾ãã
dig @utena.example.local -x LOCAL_IP_ADDR
ãã¨ãã°ãmixi ã®IPãéå¼ãããã¨ãã¯ãããªæãã§ããã
[takuya@web ~]# dig -x 219.112.246.199 ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> -x 219.112.246.199 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54624 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 8, ADDITIONAL: 8 ;; QUESTION SECTION: ;199.246.112.219.in-addr.arpa. IN PTR ;; ANSWER SECTION: 199.246.112.219.in-addr.arpa. 600 IN PTR m4-219-112-246-199.mixi.jp.
ä½ã«ä½¿ãã®ï¼
IPã¢ãã¬ã¹ãããããã¤ãã調ã¹ãããããã¨ãåºæ¥ã¾ãã
[takuya@web ~]# dig -x 58.188.43.194 ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> -x 58.188.43.194 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6818 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;194.43.188.58.in-addr.arpa. IN PTR ;; ANSWER SECTION: 194.43.188.58.in-addr.arpa. 86400 IN PTR 58-188-43-194.eonet.ne.jp.
ãã®å ´åããããã¤ãã¯eonetã§ããã