Merge pull request #3644 from projectdiscovery/any-query

added any dns query
dev
Mzack9999 2023-05-04 13:26:31 +02:00 committed by GitHub
commit 9bf2ec09fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -226,6 +226,8 @@ func questionTypeToInt(questionType string) uint16 {
question = dns.TypeCAA question = dns.TypeCAA
case "TLSA": case "TLSA":
question = dns.TypeTLSA question = dns.TypeTLSA
case "ANY":
question = dns.TypeANY
} }
return question return question
} }

View File

@ -35,6 +35,8 @@ const (
CAA CAA
// name:TLSA // name:TLSA
TLSA TLSA
// name:ANY
ANY
limit limit
) )
@ -51,6 +53,7 @@ var DNSRequestTypeMapping = map[DNSRequestType]string{
AAAA: "AAAA", AAAA: "AAAA",
CAA: "CAA", CAA: "CAA",
TLSA: "TLSA", TLSA: "TLSA",
ANY: "ANY",
} }
// GetSupportedDNSRequestTypes returns list of supported types // GetSupportedDNSRequestTypes returns list of supported types