add TODO for SOA

This commit is contained in:
Jordan Whited 2020-05-12 17:37:20 -07:00
parent 8f7de25397
commit c103287912

View File

@ -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{