Skip to content

9.0.x SplitDNS is not working  #7319

Description

@masaori335

On investigation of #7315, I found that SplitDNS is not working at master & 9.0.x with the same configs which I used for 8.1.x.

Debug log says the splitdns fallback to default dns resolver.

[Nov 13 16:18:29.545] [ET_NET 11] DEBUG: <SplitDNS.cc:186 (getDNSRecord)> (splitdns) Called SplitDNS::getDNSRecord(example.com)
[Nov 13 16:18:29.545] [ET_NET 11] DEBUG: <SplitDNS.cc:200 (getDNSRecord)> (splitdns) Fail to match a valid splitdns rule, fallback to default dns resolver

It looks like SplitDNS::findServer() always returns DNS_SRVR_UNDEFINED when the fast path is enabled (SplitDNS::m_bEnableFastPath).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions