Skip to content

kube-dns disregards stubDomains option while resolving externalName service #243

@thockin

Description

@thockin

Was kubernetes/kubernetes#63821 @driusha

/kind bug

What happened:
I have:

  • internal DNS "10.2.2.10" with zone "example.com" on it,
  • stubDomains: {"example.com": ["10.2.2.10"]}
  • externalName service "foo" which points to domain "foo.example.com"

When i try to resolve name "foo", i get NXDOMAIN.
If i try to create externalName (ex. mail -> mail.google.com) without stubDomains, everything works.

Environment:

  • Kubernetes version v1.8.5
  • kube-dns version 1.14.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions