Skip to content

Commit 210cb7b

Browse files
authored
feat: set authoritative flag when pulling from chain (#368)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 13afaee commit 210cb7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/dns/dns.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ func handleQuery(w dns.ResponseWriter, r *dns.Msg) {
126126
if records != nil {
127127
// Assemble response
128128
m.SetReply(r)
129+
m.Authoritative = true
129130
for _, tmpRecord := range records {
130131
tmpRR, err := stateRecordToDnsRR(tmpRecord)
131132
if err != nil {

0 commit comments

Comments
 (0)