Skip to content

customize max sub domain length #1

@patterniha

Description

@patterniha

Currently, most of DNS IPs do not work in Iran, according to tests, this is for two reasons:

  1. GFW changes the subdomain capitalization:

Randomly capitalizes some letters and lowercases others in request subdomain.
for example: abcdefgh.example.com is converted to aBcDEfgH.example.com
It doesn't affect normal dns requests to big dns providers like Cloudflare, because Cloudflare is not case sensitive.
Fortunately, unlike slipstream-C, slipstream-rust is case-insensitive and doesn't have this problem.

  1. GFW limit subdomain length:

for example according to @FDeghy tests:

OXNWZGDTUGNGFBUALMDSYTLGAU6B5Z4XPJBXWUJHIYBBWL6MNZSVLMVEX.DYYJQ2LODHWG3JIBKHBTLLYVPP.abc.aaaaaaaaaa.ir (102 total length)

doesn't reach the server, but

OXNWZGDTUGNGFBUALMDSYTLGAU6B5Z4XPJBXWUJHIYBBWL6MNZSVLMVEX.DYYJQ2LODHWG3JIBKHBTLLYVP.abc.aaaaaaaaaa.ir (101 total length)

reaches the server.

///

so we need a option to control max total subdomain length.

This is an urgent need for Iranians. This is happening to most of the DNS Ips, and right now the only way to access the internet is DNS-tunnel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions