Linux ETC

도메인 / IP 정보 조회 방법 및 사이트

2010.01.13 20:44

Namlyong 조회 수:32070

 

도메인 조회사이트                                                                                      


국내 도메인  :  http://whois.nic.or.kr  (한국인터넷 정보조회센터)

국제 도메인  :  http://www.internic.net/whois.html   (국제인터넷정보센터)

                     http://www.networksolutions.com/en_US/whois/index.html  (network solutions)

                     http://www.allwhois.com   (all domain.com)


--------------------------------------------------------------------------------------------------------


IP 조회사이트     

                                                                    

국내 IP        http://whois.nic.or.kr                                   한국인터넷정보센터

해외 IP        http://www.apnic.net                                  아시아태평양 네트워크주소 관리기관

               http://www.arin.net/whois/index.html           북미 네트워크주소 관리기관

               http://www.ripe.net                                     유럽 네크워크주소 관리기관

               http://www.lacnic.net                                  라틴 아메리카 네트워크주소 관리기관


- ip 대역 조회
                  http://software77.net/cgi-bin/ip-country/geo-ip.pl
                   오른쪽 Country Lookup IP 입력 조회
           

아이피스폰서  :   http://ip-sponsor.com/ 
구글 지도 연동 :  

 

 

  리눅스 시스템상에서 도메인 정보 검색

 

* host

 - 인터넷 호스트 정보를 검색할 때 사용하는 유틸리티

 - 호스트 이름 -----> IP 변환

 - nslookup과 유사

 - 사용법

host [ -l ] [ -v ] [ -r ] [ -d ] [ -t querytype ] [ -a ] host [server]

Ex) host -v -t any test.com

Trying "test.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57723
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;test.com.                      IN      ANY

;; ANSWER SECTION:
test.com.               172800  IN      NS      ns66.worldnic.com.
test.com.               172800  IN      NS      ns65.worldnic.com.

;; AUTHORITY SECTION:
test.com.               172800  IN      NS      ns65.worldnic.com.
test.com.               172800  IN      NS      ns66.worldnic.com.

;; ADDITIONAL SECTION:
ns65.worldnic.com.      172800  IN      A       205.178.190.33
ns66.worldnic.com.      172800  IN      A       205.178.144.33

Received 133 bytes from 211.115.196.49#53 in 142 ms

 

* dig

 - 도메인에 대한 검색 출력을 상세히 보여 주는 검색 도구

 - 쿼리에 대한 결과 / 인증 / 서버 정보 / 글루 레코드 등 추가 정보 출력

 - 사용법

dig @server domain query-type query-class

(@server 지정 하지 않을경우는 /etc/resolv.conf 에서 지정한 네임서버를 기본 네임서버로 사용)

Ex) dig @ns5.cninet.co.kr test.com A

 

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> @ns5.cninet.co.kr test.com A
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50784
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;test.com.                      IN      A

;; ANSWER SECTION:
test.com.               7200    IN      A       204.12.0.50

;; AUTHORITY SECTION:
test.com.               56097   IN      NS      ns65.worldnic.com.
test.com.               56097   IN      NS      ns66.worldnic.com.

;; ADDITIONAL SECTION:
ns65.worldnic.com.      129080  IN      A       205.178.190.33
ns66.worldnic.com.      129080  IN      A       205.178.144.33

;; Query time: 213 msec
;; SERVER: 61.100.13.145#53(61.100.13.145)
;; WHEN: Wed Jan 13 04:19:30 2010
;; MSG SIZE  rcvd: 129

 

* whois

 - whois 에서 검색 가능한 내용을 리눅스상에서도 볼 수 있게 해준다.

 - IP / domain 모두 검색 가능

 - 리눅스 시스템이 utf-8 인 경우 whois 정보가 한글로 제공 될때는 iconv 프로그램을 함께 사용해야 한다.

   ( whois 123.214.66.237 | iconv -f euc-kr -t utf-8 )

     whois 123.214.66.237 | iconv -f cp949 -t utf-8


Ex) whois test.com

[Querying whois.verisign-grs.com]
[whois.verisign-grs.com]

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

   Domain Name: TEST.COM
   Registrar: NETWORK SOLUTIONS, LLC.
   Whois Server: whois.networksolutions.com
   Referral URL: http://www.networksolutions.com
   Name Server: NS65.WORLDNIC.COM
   Name Server: NS66.WORLDNIC.COM
   Status: clientTransferProhibited
   Updated Date: 18-apr-2009
   Creation Date: 18-jun-1997
   Expiration Date: 17-jun-2011

>>> Last update of whois database: Wed, 13 Jan 2010 04:26:34 UTC <<<