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.jsonas bind mount (blocked byrework-configbranch) - [ ] Env variable
REDIRECTIONSwhere one can put the entire JSON on a single line (blocked byrework-configbranch)
Note: initially proposed in #64