Skip to content

Commit

Permalink
added class INET
Browse files Browse the repository at this point in the history
  • Loading branch information
buglloc committed Aug 6, 2023
1 parent 2e6b7ad commit 8ed50e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/listener/lrfc2136/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ func (a *Listener) handleXFR(ctx context.Context, q dns.Question, out chan *dns.
Hdr: dns.RR_Header{
Name: q.Name,
Rrtype: dns.TypeSOA,
Class: dns.ClassINET,
},
Ns: q.Name,
Mbox: q.Name,
Expand Down
1 change: 1 addition & 0 deletions internal/upstream/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func (r *Rule) RR() (dns.RR, error) {
hdr := dns.RR_Header{
Name: r.Name,
Rrtype: r.Type,
Class: dns.ClassINET,
}

switch r.Type {
Expand Down

0 comments on commit 8ed50e6

Please sign in to comment.