Add support for internal DNS system

This commit is contained in:
风扇滑翔翼
2025-03-09 18:55:37 +00:00
committed by GitHub
parent 4999fd5b7b
commit 5f504888b6
7 changed files with 206 additions and 0 deletions
+6
View File
@@ -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