https://github.com/tailhook/ns-router
An abstraction around domain name system that allows to resolve different names by different means
https://github.com/tailhook/ns-router
Last synced: 10 months ago
JSON representation
An abstraction around domain name system that allows to resolve different names by different means
- Host: GitHub
- URL: https://github.com/tailhook/ns-router
- Owner: tailhook
- License: apache-2.0
- Created: 2017-09-15T21:34:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-29T22:19:59.000Z (almost 8 years ago)
- Last Synced: 2025-03-25T16:15:56.890Z (11 months ago)
- Language: Rust
- Size: 86.9 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
NS Router Crate
===============
[Github](https://github.com/tailhook/ns-router) |
[Documentaion](http://docs.rs/ns-router) |
[Crate](https://crates.io/crates/ns-router)
A configurable name resolver for [abstract-ns][1]. 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][2] 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
[1]: https://crates.io/crates/abstract-ns
[2]: https://docs.rs/futures/0.1.16/futures/stream/trait.Stream.html
License
=======
Licensed under either of
* Apache License, Version 2.0,
(./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
------------
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.