Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Commit 051b5b2

Browse files
committed
doc: README.md
1 parent 669ec04 commit 051b5b2

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name = "nip-io"
33
version = "1.0.0"
44
edition = "2021"
55
authors = ["AH-dark <[email protected]>"]
6+
readme = "README.md"
7+
license = "AGPL-3.0-or-later"
8+
repository = "https://github.com/AH-dark/ns-ip.git"
69

710
[features]
811
default = []

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# NS IP
2+
3+
This is a toy project that built a simple dynamic domain dns server that can be used to resolve domain names to IP
4+
addresses. The server is built using Rust and the trust-dns library.
5+
6+
## Features
7+
8+
- [x] Resolve domain names like `app.1.2.3.4.ip.local` to `1.2.3.4`
9+
- [x] Resolve domain names like `app-1-2-3-4.ip.local` to `1.2.3.4`
10+
- [x] Resolve domain names like `4-3-2-1-app.ip.local` to `1.2.3.4`
11+
- [x] Resolve domain names like `a.b.c.1-2-3-4.ip.local` to `1.2.3.4`
12+
- [ ] Resolve IPv6 domain names
13+
- [ ] Auto response CNAME records
14+
- [ ] More localhost domain names support
15+
16+
## Usage
17+
18+
1. Clone the repository
19+
2. Fill or change the `.env` file
20+
3. Run the server using `cargo run`
21+
22+
## License
23+
24+
This project is licensed under the GNU Affero General Public License v3.0 - see the [LICENSE](LICENSE) file for details.

0 commit comments

Comments
 (0)