mirror of
https://github.com/jwhited/wgsd.git
synced 2025-04-07 12:39:30 +08:00
add TODO for SOA
This commit is contained in:
parent
8f7de25397
commit
c103287912
1
wgsd.go
1
wgsd.go
@ -66,6 +66,7 @@ func (p *WGSD) ServeDNS(ctx context.Context, w dns.ResponseWriter,
|
||||
m.Authoritative = true
|
||||
|
||||
switch {
|
||||
// TODO: handle SOA
|
||||
case name == spPrefix && qtype == dns.TypePTR:
|
||||
for _, peer := range device.Peers {
|
||||
m.Answer = append(m.Answer, &dns.PTR{
|
||||
|
Loading…
x
Reference in New Issue
Block a user