ISC Bind9.2.1 : Can I list all A records for a Zone?

Pete Ehlke pde at ehlke.net
Sat Jun 22 21:12:26 UTC 2002


On Sat, Jun 22, 2002 at 03:56:28PM -0500, Martin McCormick wrote:
> #! /bin/sh
> dig @your.dns.address -taxfr your.zone \
> |   awk '{ print $1,$2,$3,$4,$5}' \
> |grep  " A " >some-file
> 
awk '/ A / { print }'

Nobody seems to remember anymore that awk is a pattern matching language ;)


More information about the bind-users mailing list