hjr3 / weldr

A HTTP 1.1 proxy written in Rust using tokio.
Apache License 2.0
217 stars 20 forks source link

Support DNS Service (SRV) records to get the port numbers of upstream servers via DNS #64

Open hjr3 opened 7 years ago

hjr3 commented 7 years ago

This would allow users to add servers with only a dns record instead of specifying an ip addrses and port. This may be required in order to do https://github.com/hjr3/alacrity/issues/49

hjr3 commented 7 years ago

See https://www.nginx.com/blog/dns-service-discovery-nginx-plus/ for some details.

yanns commented 7 years ago

for info, support in hyper: https://github.com/hyperium/hyper/blob/master/src/client/dns.rs