Hello Matus UHLAR - fantomas, Am 2010-11-09 14:13:47, hacktest Du folgendes herunter: > I am not sure whether dnswalk over whole internet can do that, but on your
I will try it... > server you can either run recursive grep over named data directory, or dump > the named dsatabase and grep it... This is what I currently do... ----[ '/usr/sbin/get_hosts_in cname' ]---------------------------------- #!/bin/sh QUERY="$1" for FILE in $(cd /etc/bind && ls *.signed) do grep --regexp=" IN CNAME .*${QUERY}" /etc/bind/${FILE} 2>/dev/null |cut -d ' ' -f1 |sed 's|.$||' done ------------------------------------------------------------------------ ...and it is to slow do to more then 80.000 Zones (they have to be greped all) number of VHosts. Oh, it is now time to use "xargs", because I saw today, that I hit the limits for "ls". :-D Following is working: cd /etc/bind && ls but not: cd /etc/bind && ls * or cd /etc/bind && ls *.signed and the OSes are called Linux and BSD... WTF? It seems that a commandline can not have more then 31.000 characters. (no not options but total lenght) Thanks, Greetings and nice Day/Evening Michelle Konzack -- ##################### Debian GNU/Linux Consultant ###################### Development of Intranet and Embedded Systems with Debian GNU/Linux itsyst...@tdnet France EURL itsyst...@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 linux4miche...@jabber.ccc.de ICQ #328449886 Linux-User #280138 with the Linux Counter, http://counter.li.org/
signature.pgp
Description: Digital signature
_______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users