mirror of
https://github.com/jwhited/wgsd.git
synced 2025-01-31 12:19:32 +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
|
m.Authoritative = true
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
|
// TODO: handle SOA
|
||||||
case name == spPrefix && qtype == dns.TypePTR:
|
case name == spPrefix && qtype == dns.TypePTR:
|
||||||
for _, peer := range device.Peers {
|
for _, peer := range device.Peers {
|
||||||
m.Answer = append(m.Answer, &dns.PTR{
|
m.Answer = append(m.Answer, &dns.PTR{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user