Skip to content

Commit 20d6405

Browse files
committed
update info
1 parent 061078b commit 20d6405

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,15 @@ Users can query the DNS-BL as configured in your config-file through:
6868

6969
```bash
7070
rath@gate:~ dnsbl-server -help
71-
> Usage of dnsbl-server:
72-
> -config string
73-
> Path to the config file (in YAML format) (required)
74-
> -domain string
75-
> Domain to serve for (required)
71+
> Usage of build/dnsbl-server-linux-amd64:
72+
> -config string (required)
73+
> Path to the config file (in YAML format)
7674
> -log-json
77-
> Log in JSON-format (defaut false)
75+
> Log in JSON-format
7876
> -no-log
79-
> Disable request logging (defaut false)
77+
> Disable request logging
8078
> -no-log-time
81-
> Disable log timestamp (defaut false)
79+
> Disable log timestamp
8280
> -port int
8381
> Port to listen on (default 5353)
8482
@@ -108,7 +106,7 @@ rath@gate:~ dnsbl-server -config ./config.yml -port 10000
108106

109107
<details>
110108

111-
```
109+
```bash
112110
nslookup
113111
> set port=10000
114112
> server 127.0.0.1
@@ -161,7 +159,7 @@ Server: 127.0.0.1
161159
Address: 127.0.0.1#10000
162160
163161
Non-authoritative answer:
164-
*** Can't find 1.1.1.1.ip.dnsbl.example.org: No answer
162+
** server can\'t find 1.1.1.1.ip.dnsbl.example.org: NXDOMAIN
165163
166164
167165
# DOMAIN NOT LISTED
@@ -170,6 +168,6 @@ Server: 127.0.0.1
170168
Address: 127.0.0.1#10000
171169
172170
Non-authoritative answer:
173-
*** Can't find good.oxl.app.d.dnsbl.example.org: No answer
171+
** server can\'t find good.oxl.app.d.dnsbl.example.org: NXDOMAIN
174172
```
175173
</details>

0 commit comments

Comments
 (0)