Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

did you drop dot support? #79

Closed
bcookatpcsd opened this issue Mar 11, 2022 · 3 comments
Closed

did you drop dot support? #79

bcookatpcsd opened this issue Mar 11, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@bcookatpcsd
Copy link

Using the latest binary (2022-03-11)

     1  ---
     2  verbosity: "info"
     3  address: 0.0.0.0:2053
     4  table:
     5    start:
     6      if: "qtype([AAAA])"
     7      then:
     8        # A list of actions is allowed here
     9        - blackhole
    10        # The next tag to go
    11        - end
    12      else:
    13        - dispatch
    14    dispatch:
    15      - query: secure
    16      - end
    17
    18  upstreams:
    19    cloudflare:
    20      https:
    21        uri: https://cloudflare-dns.com/dns-query
    22        ratelimit: 3000
    23        addr: 1.0.0.1
    24
    25    quad9:
    26      tls:
    27        uri: dns.quad9.net
    28        ratelimit: 3000
    29        addr: 9.9.9.9:853
    30
    31    secure:
    32      hybrid:
    33        - cloudflare
    34        - quad9
 ./dcompass-x86_64-unknown-linux-gnu --config working.yaml
Using the config file specified: working.yaml
Error: Failed to parse the configuration file

Caused by:
    unknown variant `tls`, expected one of `hybrid`, `udp`, `https` at line 2 column 10
./dcompass-x86_64-unknown-linux-gnu -V
dcompass 0.1.0-alpha.1

# ls -al dcompass-x86_64-unknown-linux-gnu
-rwxr-xr-x 1 root root 5569880 Mar 11 06:53 dcompass-x86_64-unknown-linux-gnu
@bcookatpcsd bcookatpcsd added the bug Something isn't working label Mar 11, 2022
@bcookatpcsd
Copy link
Author

I missed this..

[2021-07-28] 2x faster and breaking changes
We adopted a brand new bare metal DNS library domain which allows us to manipulate DNS messages without much allocation. This adoption significantly improves the memory footprint and throughput of dcompass. Due to this major refactorization, DoT/TCP/zone protocol are temporarily unavailable, however, UDP and DoH connections are now blazing fast. We will gradually put back those protocols.

@LEXUGE
Copy link
Collaborator

LEXUGE commented Mar 11, 2022

As you read, yes. We did drop the DoT support due to inner refactor.

However, for your use case, I think it’s fine to use DoH instead now.

@LEXUGE
Copy link
Collaborator

LEXUGE commented Mar 15, 2022

@bcookatpcsd
The latest version has already added DoT support:

  Google:
    tls:
      domain: "dns.google"
      addr: 8.8.8.8:853
      sni: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants