Skip to content

FeatureRequest: Redirect to alternate upstream in no data in ANSWER section #24

@Kisuke-CZE

Description

@Kisuke-CZE

Hello,

Would it be possible to add condition to redirect if there are no data in ANSWER section of response from first upstream?

For example:
I am querying for TXT record of example.com
CoreDNS will query first backend and will got response with NOERROR, but no data in ANSWER section (there is no TXT record for this domain on first backend, but domain exists and has an A record for example).
But there is second backend, which does have TXT record for example.com.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions