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

DNS records of local_ip doesn't cached. #183

Closed
fernvenue opened this issue Aug 28, 2022 · 3 comments
Closed

DNS records of local_ip doesn't cached. #183

fernvenue opened this issue Aug 28, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@fernvenue
Copy link
Contributor

Describe the bug
Hi, I just found out that rathole sent a lot of DNS requests for local_ip, can't we use cache for it or maybe just send request when TTL expired or target machine doesn't respond only? If rathole already support to use cache for DNS, could you please tell me how can I use this feature?

And I discovered #151 this, and I'm pretty sure that this is not the same issue, this one about local_ip address, not server address.

To Reproduce
Steps to reproduce the behavior:

  1. Make a connection using rathole;
  2. And check the local DNS server log.

Configuration
Configuration used to reproduce the behavior:

[server]
bind_addr = "0.0.0.0:2333"
[server.services.example]
token = "1029384756"
bind_addr = "0.0.0.0:443"

[client]
remote_addr = "example.com:2333"
[client.services.example]
token = "1029384756"
local_addr = "example.com:443"

Environment:

  • OS: debian 11 bullseye
  • rathole --version output:
rathole 
Build Timestamp:     2022-08-11T12:56:34.066343926+00:00
Build Version:       0.4.3
Commit SHA:          Some("2e9e7374bc046ecda23ebd0aefeb45a560498585")
Commit Date:         Some("2022-08-11T12:51:56+00:00")
Commit Branch:       Some("detached HEAD")
cargo Target Triple: x86_64-unknown-linux-gnu
cargo Profile:       release
cargo Features:      base64,client,default,hot_reload,noise,notify,server,snowstorm,tls,tokio_native_tls
  • CPU architecture: x86_64
@fernvenue fernvenue added the bug Something isn't working label Aug 28, 2022
@rapiz1
Copy link
Owner

rapiz1 commented Aug 28, 2022 via email

@fernvenue
Copy link
Contributor Author

Sounds reasonable, thanks for your reply, and I'm clearly understood your concern. Do you agree with that we should add this to the out-of-scope list so that others won't repeat this issue?

@fernvenue fernvenue closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2022
@rapiz1
Copy link
Owner

rapiz1 commented Oct 11, 2022 via email

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