use log library
This commit is contained in:
26
README.md
26
README.md
@@ -32,7 +32,19 @@ You may use `sudo` to run this command because you will use the `53` port, make
|
||||
|
||||
Now change your local DNS server to `127.0.0.1` 🚀
|
||||
|
||||
### Command
|
||||
## Running in docker
|
||||
|
||||
Build docker image
|
||||
```bash
|
||||
docker build -t updns .
|
||||
```
|
||||
|
||||
Start up
|
||||
```bash
|
||||
docker run -d --name updns -p 53:53/udp -v /root/updns/:/root/.updns/ --restart always updns
|
||||
```
|
||||
|
||||
## Command
|
||||
|
||||
```
|
||||
Usage:
|
||||
@@ -51,18 +63,6 @@ Option:
|
||||
-c Specify a config file
|
||||
```
|
||||
|
||||
## Running in docker
|
||||
|
||||
Build docker image
|
||||
```bash
|
||||
docker build -t updns .
|
||||
```
|
||||
|
||||
Start up
|
||||
```bash
|
||||
docker run -d --name updns -p 53:53/udp -v /root/updns/:/root/.updns/ --restart always updns
|
||||
```
|
||||
|
||||
## Config
|
||||
|
||||
You can use `updns config` command and then call `vim` quick edit, or use `updns path` find the updns's installation directory and edit the `config` file
|
||||
|
||||
Reference in New Issue
Block a user