lookup cnames

2009-08-20 Thread James M
[r...@mandy4 ccadns]# rpm -qa|grep bind
bind-utils-9.3.2-7.4.20060mlcs4
bind-9.3.2-7.4.20060mlcs4

I've tried but cannot find an option to return cname records for a given host.
I did find dig and host command options that allows entering a cname
with the result being the host that owns that cname.
I need the opposite - enter host and return all the cnames for that host.
Is there a way using dig or host? or something else (besides axfr and grep)
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: lookup cnames

2009-08-20 Thread Kevin Darcy

James M wrote:

[r...@mandy4 ccadns]# rpm -qa|grep bind
bind-utils-9.3.2-7.4.20060mlcs4
bind-9.3.2-7.4.20060mlcs4

I've tried but cannot find an option to return cname records for a given host.
I did find dig and host command options that allows entering a cname
with the result being the host that owns that cname.
I need the opposite - enter host and return all the cnames for that host.
Is there a way using dig or host? or something else (besides axfr and grep)
___
  
No, the protocol does not support a general all CNAMEs pointing to a 
given name lookup function.


Even if it did, it would only work for CNAMEs in the zone(s) for which 
the target server was authoritative. There's no way to know whether some 
arbitrary admin has put a CNAME at some hierarchy level in some 
arbitrary zone, pointing to one of your Internet-advertised names (or 
even a non-Internet-advertised one, for that matter).


- Kevin

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users