mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-14 08:58:47 +00:00
Add support for internal DNS system
This commit is contained in:
@@ -29,6 +29,12 @@ type record struct {
|
||||
AAAA *IPRecord
|
||||
}
|
||||
|
||||
type HTTPSRecord struct {
|
||||
keypair map[string]string
|
||||
Expire time.Time
|
||||
RCode dnsmessage.RCode
|
||||
}
|
||||
|
||||
// IPRecord is a cacheable item for a resolved domain
|
||||
type IPRecord struct {
|
||||
ReqID uint16
|
||||
|
||||
Reference in New Issue
Block a user