Using dig to Look Up IP Address

Brad Knowles brad.knowles at skynet.be
Fri Jun 29 17:05:01 UTC 2001


At 8:03 PM -0600 6/28/01, Jim wrote:

>  How do you use dig to do an IP address to name lookup?  It's easy
>  enough to do with nslookup, and I don't have problems using dig to
>  find most other DNS data, but I'll be hanged if I can figure out how
>  to do reverse lookups.

	Try "man dig".

	After doing that, try "dig -x 10.1.2.3".

-- 
Brad Knowles, <brad.knowles at skynet.be>

/*        efdtt.c  Author:  Charles M. Hannum <root at ihack.net>          */
/*       Represented as 1045 digit prime number by Phil Carmody         */
/*     Prime as DNS cname chain by Roy Arends and Walter Belgers        */
/*                                                                      */
/*     Usage is:  cat title-key scrambled.vob | efdtt >clear.vob        */
/*   where title-key = "153 2 8 105 225" or other similar 5-byte key    */

dig decss.friet.org|perl -ne'if(/^x/){s/[x.]//g;print pack(H124,$_)}'


More information about the bind-users mailing list