mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Small doc style updates in the host middleware
This commit is contained in:
@@ -10,7 +10,7 @@ available hosts files that block access to advertising servers.
|
||||
## Syntax
|
||||
|
||||
~~~
|
||||
hosts FILE [ZONES...] {
|
||||
hosts [FILE [ZONES...]] {
|
||||
fallthrough
|
||||
}
|
||||
~~~
|
||||
@@ -23,20 +23,20 @@ hosts FILE [ZONES...] {
|
||||
|
||||
## Examples
|
||||
|
||||
Load /etc/hosts file
|
||||
Load `/etc/hosts` file.
|
||||
|
||||
~~~
|
||||
hosts
|
||||
~~~
|
||||
|
||||
Load example.hosts file
|
||||
Load `example.hosts` file in the current directory.
|
||||
|
||||
~~~
|
||||
hosts example.hosts
|
||||
~~~
|
||||
|
||||
Load example.hosts file and only serve example.org and example.net from it and fall through to the
|
||||
next middleware if query doesn't match
|
||||
next middleware if query doesn't match.
|
||||
|
||||
~~~
|
||||
hosts example.hosts example.org example.net {
|
||||
|
||||
Reference in New Issue
Block a user