plugin/k8s_external/kubernetes: handle NS records (#3160)
* fix external ns records * use k8s service name for ns record * update test, add func comment * expand nsAddrs() test cases * support local ipv6 ip * use less confusing pod ip in test
This commit is contained in:
parent
84988ce2c2
commit
338d148c78
6 changed files with 180 additions and 70 deletions
|
@ -327,7 +327,7 @@ func TestServicesAuthority(t *testing.T) {
|
|||
|
||||
state := request.Request{
|
||||
Req: &dns.Msg{Question: []dns.Question{{Name: test.qname, Qtype: test.qtype}}},
|
||||
Zone: "interwebs.test.", // must match from k.Zones[0]
|
||||
Zone: k.Zones[0],
|
||||
}
|
||||
svcs, e := k.Services(context.TODO(), state, false, plugin.Options{})
|
||||
if e != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue