mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-23 13:45:25 +00:00
added any dns query
This commit is contained in:
parent
3f8a2f63b7
commit
82f7a0e939
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user