Skip to content

Commit

Permalink
forbit resolving of ip- records for non A/AAAA queries
Browse files Browse the repository at this point in the history
  • Loading branch information
neex committed Jan 22, 2020
1 parent 15387ab commit 37ffbd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions processors.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ func convertAddr(addr string, q *query) ([]string, bool) {
return []string{makeRR(q.name, "AAAA", forcedV6(parsed))}, true
}
}
} else {
if strings.HasPrefix(strings.ToLower(addr), "ip-") {
return []string{}, true
}
}

if strings.HasPrefix(addr, "hex-") {
Expand Down

0 comments on commit 37ffbd9

Please sign in to comment.