aboutsummaryrefslogtreecommitdiff
path: root/lib/dns/server.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-03-25 13:42:20 +0700
committerShulhan <ms@kilabit.info>2024-03-26 23:07:02 +0700
commit71eaafc5119b178be61abf6ae7b8a2fbcdfacc44 (patch)
tree04d227d6f7d01bce8a082a98216a6f271145ef7d /lib/dns/server.go
parentaba79f63972515f3849f35641ef7de3f93f812e2 (diff)
downloadpakakeh.go-71eaafc5119b178be61abf6ae7b8a2fbcdfacc44.tar.xz
lib/dns: implements RFC 9460 for SVCB RR and HTTPS RR
Diffstat (limited to 'lib/dns/server.go')
-rw-r--r--lib/dns/server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dns/server.go b/lib/dns/server.go
index 1f77f23a..e9e1b49a 100644
--- a/lib/dns/server.go
+++ b/lib/dns/server.go
@@ -560,7 +560,8 @@ func (srv *Server) isImplemented(msg *Message) bool {
}
switch msg.Question.Type {
case RecordTypeAAAA, RecordTypeSRV, RecordTypeOPT, RecordTypeAXFR,
- RecordTypeMAILB, RecordTypeMAILA:
+ RecordTypeMAILB, RecordTypeMAILA,
+ RecordTypeSVCB, RecordTypeHTTPS:
return true
}