Adding this back
This commit is contained in:
parent
2785237198
commit
e8d996b86b
@ -55,6 +55,7 @@ func PerformZoneTransfer(config config.Config, debug bool) []string {
|
|||||||
var ip, hostname, txt string
|
var ip, hostname, txt string
|
||||||
switch v := a.(type) {
|
switch v := a.(type) {
|
||||||
case *dns.TXT:
|
case *dns.TXT:
|
||||||
|
txt = string(v.Txt[0])
|
||||||
hostname = v.Hdr.Name
|
hostname = v.Hdr.Name
|
||||||
cip, err := lookupName(strings.TrimRight(v.Hdr.Name, "."), server, debug)
|
cip, err := lookupName(strings.TrimRight(v.Hdr.Name, "."), server, debug)
|
||||||
if err != nil || cip == "" {
|
if err != nil || cip == "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user