mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-05-15 00:50:25 +02:00
Rework os resolver
Currently, os resolver not only handle A and AAAA records, but also does it wrongly, since when it packs AAAA record to a dns.A record. This commit reworks os resolver to make it works with all supported record types.
This commit is contained in:
committed by
Cuong Manh Le
parent
e6d77e2586
commit
e331a4113a
@@ -296,5 +296,5 @@ func ttlFromMsg(msg *dns.Msg) uint32 {
|
||||
|
||||
var osUpstreamConfig = &ctrld.UpstreamConfig{
|
||||
Name: "OS resolver",
|
||||
Type: "os",
|
||||
Type: ctrld.ResolverTypeOS,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user