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

Redirect hostnames to IPs for v2.0.0-beta #87

Closed
3 tasks
qdm12 opened this issue Sep 5, 2021 · 1 comment
Closed
3 tasks

Redirect hostnames to IPs for v2.0.0-beta #87

qdm12 opened this issue Sep 5, 2021 · 1 comment
Milestone

Comments

@qdm12
Copy link
Owner

qdm12 commented Sep 5, 2021

As JSON format

{
  "version": 1,
  "A": {
    "domain.com": ["1.2.3.4"]
  },
}
  • Implement at the dial level so it works with both resolvers and servers
  • From file redirections.json as bind mount (blocked by rework-config branch)
  • Env variable REDIRECTIONS where one can put the entire JSON on a single line (blocked by rework-config branch)

Note: initially proposed in #64

@qdm12 qdm12 mentioned this issue Sep 5, 2021
16 tasks
@qdm12 qdm12 added this to the v2.x.0 milestone Jan 2, 2022
@qdm12
Copy link
Owner Author

qdm12 commented Mar 28, 2024

Done in 156a695 by using MIDDLEWARE_SUBSTITUTER_SUBSTITUTIONS

@qdm12 qdm12 closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant