Commit 15126a9 1 parent d8af567 commit 15126a9 Copy full SHA for 15126a9
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ A simple DNS proxy written in go based on [github.com/miekg/dns](https://github.
7
7
## Docker
8
8
9
9
``` shell
10
- $ docker run -p 153 :53/udp katakonst/go-dns-proxy:latest -use-outbound -json-config=' {
10
+ $ docker run -p 53 :53/udp katakonst/go-dns-proxy:latest -use-outbound -json-config=' {
11
11
"defaultDns": "8.8.8.8:53",
12
12
"servers": {
13
13
"google.com" : "8.8.8.8:53"
@@ -40,11 +40,11 @@ $ go-dns-proxy -use-outbound -json-config='{
40
40
## Arguments
41
41
42
42
```
43
- -file config filename
44
- -log-level log level(info or error)
45
- -expiration cache expiration time in seconds
46
- -use-outbound use outbound address as host for server
47
- -config-json configs as json
43
+ -file config filename
44
+ -log-level log level(info or error)
45
+ -expiration cache expiration time in seconds
46
+ -use-outbound use outbound address as host for server
47
+ -config-json configs as json
48
48
```
49
49
50
50
## Config file format
@@ -60,4 +60,4 @@ $ go-dns-proxy -use-outbound -json-config='{
60
60
".*.com." : " 8.8.8.8"
61
61
}
62
62
}
63
- ```
63
+ ```
You can’t perform that action at this time.
0 commit comments