Skip to content

Commit 831939b

Browse files
committed
Add subdomain to verify dns resolution by subdomain
1 parent ea5be33 commit 831939b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/network/dns.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ var _ = SIGDescribe("DNS", func() {
274274
}()
275275

276276
hostFQDN := fmt.Sprintf("%s.%s.%s.svc.%s", podHostname, serviceName, f.Namespace.Name, framework.TestContext.ClusterDNSDomain)
277-
namesToResolve := []string{hostFQDN}
277+
subdomain := fmt.Sprintf("%s.%s.svc.%s", serviceName, f.Namespace.Name, framework.TestContext.ClusterDNSDomain)
278+
namesToResolve := []string{hostFQDN, subdomain}
278279
wheezyProbeCmd, wheezyFileNames := createProbeCommand(namesToResolve, nil, "", "wheezy", f.Namespace.Name, framework.TestContext.ClusterDNSDomain)
279280
jessieProbeCmd, jessieFileNames := createProbeCommand(namesToResolve, nil, "", "jessie", f.Namespace.Name, framework.TestContext.ClusterDNSDomain)
280281
By("Running these commands on wheezy: " + wheezyProbeCmd + "\n")

0 commit comments

Comments
 (0)