Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
katakonst authored May 2, 2018
1 parent d8af567 commit 15126a9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A simple DNS proxy written in go based on [github.com/miekg/dns](https://github.
## Docker

```shell
$ docker run -p 153:53/udp katakonst/go-dns-proxy:latest -use-outbound -json-config='{
$ docker run -p 53:53/udp katakonst/go-dns-proxy:latest -use-outbound -json-config='{
"defaultDns": "8.8.8.8:53",
"servers": {
"google.com" : "8.8.8.8:53"
Expand Down Expand Up @@ -40,11 +40,11 @@ $ go-dns-proxy -use-outbound -json-config='{
## Arguments

```
-file config filename
-log-level log level(info or error)
-expiration cache expiration time in seconds
-use-outbound use outbound address as host for server
-config-json configs as json
-file config filename
-log-level log level(info or error)
-expiration cache expiration time in seconds
-use-outbound use outbound address as host for server
-config-json configs as json
```

## Config file format
Expand All @@ -60,4 +60,4 @@ $ go-dns-proxy -use-outbound -json-config='{
".*.com." : "8.8.8.8"
}
}
```
```

0 comments on commit 15126a9

Please sign in to comment.