#name #service #dns #service #discovery


A configurable name resolver for abstract-ns

7 releases

Uses old Rust 2015

0.1.6 Mar 21, 2018
0.1.5 Jan 4, 2018
0.1.3 Dec 4, 2017
0.1.2 Nov 24, 2017
0.1.1 Oct 24, 2017

#25 in #discovery

43 downloads per month
Used in less than 6 crates


1.5K SLoC

NS Router Crate

Github | Documentaion | Crate

A configurable name resolver for abstract-ns. It does not have any actual name resolution implementations, but it allows:

  • Resolve different names by different means (say resolve *.consul in consul, but other TLDs using normal DNS)
  • Make a stream of addresses (i.e. resolve and update) from a list of names
  • Make a stream of addresses from stream of name lists so you can update config on the fly
  • Reconfigure router on the fly and get all streams updated


Licensed under either of


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~62K SLoC