How to get easily (from a script) all CNAME of a A record?

Michelle Konzack linux4michelle at tamay-dogan.net
Wed Nov 10 00:54:45 UTC 2010


Hello Philippe.Simonet at swisscom.com,

Am 2010-11-09 22:16:08, hacktest Du folgendes herunter:
> For all CNAME records, make e.g. a TXT record with the reverse result :
> (TXT is maybe not the better record type...which ones (for specialists))
> 
> For each :
> a-name IN A 1.2.3.4
> an-alias IN CNAME a-name
> 
> Just add :
> a-name IN TXT an-alias
> 
> and make more than one TXT records for each cname pointing to the same record ...
> a-name IN TXT another-alias

I am currently testing this solution and it seems to work nicely  and  I
can easyly integrate the generation of the TXT record in my PHP scripts.

...and this is very speedy!

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems at tdnet France EURL       itsystems at tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle at jabber.ccc.de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.pgp
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20101110/380485e0/attachment.bin>


More information about the bind-users mailing list