Quick lookup question.

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Tue Sep 14 19:11:21 UTC 2004


Armin M. Safarians <armin.safarians at safeway.com> wrote:
> How can I do a dns query and find all of the cnames that associate to a
> particular host.


Short version : you cannot. 

Finding all cnames is equivalent with asking all Internet nameservers 
for all possible FQDN to see if anyone has a cname "pointing" to you.


For the limited case of restricting your search among your own zones; 
use grep ( or egrep) on your zonefiles.

> Thank you all in advance for your help.
> Cheers;
> AMS :-)

You are welcome!

-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list