Skip to content

Add CoreDNS geolocation routing test #874

@averevki

Description

@averevki

Summary

Setup Kuadrant CoreDNS with GEO-based dns records and check if requests are routed based on the client IP geolocation.

Documentation

https://github.com/Kuadrant/dns-operator/blob/main/docs/coredns/local-development.md#geo

Test could look more or less the same as existing geo-multicluster tests in the testsuite. Only with the providerRef on dnspolicy pointing to the coredns credentials secret instead (default provider secret with coredns)

Additional context

Test is not possible to do with openstack load balancers we currently use for the cluster infrastructure. Amphora openstack load balancers overwrite the source IP from incoming request with it's own (SNAT), so it is not possible to determine the client geolocation without using the geoip subnet extension (edns-subnet) instead. This is not a problem on clusters which use AWS load-balancers

Revisit test when the migration to the new infrastructure is complete

Metadata

Metadata

Assignees

No one assigned

    Labels

    DNSIssues for DNSOperatorTest caseNew test case

    Type

    No type

    Projects

    Status

    🆕 New

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions