Skip to content

Multi-character subdomain is not resolved by wildcard "*" record when using Split Horizon - SimpleAddress #1640

@shalinmakadia

Description

@shalinmakadia

I am having a weird issue that I have tried to rectify using all the resources available on the internet, with no avail.

When I configure a wildcard * record to catch-all non defined subdomains on a primary domain AND use split horizon app on that record, it matches the * to a single character (as if a . in a regex).

For example, when I create a record *.abc.com for Split Horizon App - SimpleAddress, it can resolve a.abc.com or b.abc.com or 3.abc.com etc, but cannot resolve aa.abc.com or ab.abc.com or 123.abc.com (multi-character subdomains).

Below info is from test scenario that I used to recreate the issue I have in live:-

Image

"nslookup a.abc.com" results in:-
Name: a.abc.com
Address: 192.168.3.11

"nslookup ab.abc.com" results in:-
*** UnKnown can't find ab.abc.com: Non-existent domain

Not sure is dnsApp.config will affect the record above, so posting the contents below.
dnsApp.config:-
{
"networks": {
"vlan1001": ["192.168.1.0/24"],
"vlan1003": ["192.168.3.0/24"],
"vlan1004": ["192.168.4.0/24"],
"vlan1005": ["192.168.5.0/24"]
},
"enableAddressTranslation": false,
"networkGroupMap": {
"10.0.0.0/8": "local1",
"172.16.0.0/12": "local2",
"192.168.0.0/16": "local3"
},
"groups": []
}

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