FUN WITH LINUX

check-script for zonetransfers

16 December 2014

This script checks if a dns-zone-transfer for a specific domain is possible on it’s domain-servers. A zonetransfer should for security reasons only be possible between 2 trusted dns-servers.

DOMAIN="example.com" && for i in `host -t ns $DOMAIN | awk '{print $4}'`; do host -a -l $DOMAIN $i; done
[ Sysadmin  One-Liner  Security  ]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti