Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[external-dns] Private hosts in public DNZ zone #185

Open
bonddim opened this issue Mar 25, 2024 · 3 comments
Open

[external-dns] Private hosts in public DNZ zone #185

bonddim opened this issue Mar 25, 2024 · 3 comments

Comments

@bonddim
Copy link

bonddim commented Mar 25, 2024

Hi,
I'm trying to add internal ingress using instruction https://learn.microsoft.com/en-us/azure/aks/create-nginx-ingress-private-controller.
Current controller implementation does not provide configuration options for external-dns controller.

Issue

All hosts from Private DNS Zone private.example.com created in DNS zone example.com also.
This makes impossible to use operator for split-horizon/split-view DNS completely.

Proposal

Add configuration options to NginxIngressController for external-dns controller to filter watched ingresses:

  • annotation-filter
  • label-filter
  • ingress-class (available from v0.13.5)
@OliverMKing
Copy link
Collaborator

I like the proposal. I'll look into the solutions for this and get back to you.

@OliverMKing
Copy link
Collaborator

Can you use zones that don't have overlapping domains until we have a path forward for this?

@bonddim
Copy link
Author

bonddim commented Apr 24, 2024

Hi,
As it's not possible to disable external-dns without disabling addon completely, I configured Private DNS Zone only - it's better to have public IPs in private zone, than the other way around.
Public DNZ Zone is managed with additional external-dns deployment with required filters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants