plugin/k8s_external: Set authoritative bit in responses (#5284)

set authoritative bit in responses

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
Chris O'Haver
2022-04-12 11:01:15 -04:00
committed by GitHub
parent 83021637b3
commit e60c179194
4 changed files with 9 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ func TestApex(t *testing.T) {
if resp == nil {
t.Fatalf("Test %d, got nil message and no error for %q", i, r.Question[0].Name)
}
if !resp.Authoritative {
t.Error("Expected authoritative answer")
}
if err := test.SortAndCheck(resp, tc); err != nil {
t.Error(err)
}