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

Allow IP to be specified for Apex domains #832

Open
maleck13 opened this issue Aug 19, 2024 · 1 comment
Open

Allow IP to be specified for Apex domains #832

maleck13 opened this issue Aug 19, 2024 · 1 comment

Comments

@maleck13
Copy link
Collaborator

maleck13 commented Aug 19, 2024

What

If someone adds an apex domain as a listener in the gateway, we will fail to setup DNS for that as apex domains can only have A records.

Solution

Allow the user to specify an IP for any apex domains in the DNSPolicy which we will use as the A record value. The user can then for example setup a 301 redirect to re-route traffic to a subdomain where DNS Load Balancing has been applied

This is a change the DNSPolicy and so will need a short RFC:

spec:
  apexAddress: 82.17.241.23 #any apex covered by the DNSPolicy gets this IP and then a redirect to www. etc can be applied
@maleck13 maleck13 converted this from a draft issue Aug 19, 2024
@philbrookes
Copy link
Contributor

potential alternative: apexRedirect

Allow a customer to define a hostname to redirect to from the apex domain, the kuadrant-operator could then configure a listener in the gateway to perform this redirect and instruct (via DNSRecord) the dns-operator to use the IPs of the gateway (resolving CNAMEs) for the apex domain.

ping @maleck13

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

No branches or pull requests

2 participants