Adding this back

This commit is contained in:
Matt Burchett 2019-01-15 07:45:09 -06:00
parent 2785237198
commit e8d996b86b

View File

@ -55,6 +55,7 @@ func PerformZoneTransfer(config config.Config, debug bool) []string {
var ip, hostname, txt string
switch v := a.(type) {
case *dns.TXT:
txt = string(v.Txt[0])
hostname = v.Hdr.Name
cip, err := lookupName(strings.TrimRight(v.Hdr.Name, "."), server, debug)
if err != nil || cip == "" {