dns
dns copied to clipboard
Redirect hostnames to IPs for `v2.0.0-beta`
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 byrework-config
branch) - [ ] Env variable
REDIRECTIONS
where one can put the entire JSON on a single line (blocked byrework-config
branch)
Note: initially proposed in #64