Added more examples

Andrey Meshkov 2021-10-10 18:42:43 +03:00
parent 1a8843345e
commit 82962ccd37
1 changed files with 5 additions and 2 deletions

@ -567,9 +567,10 @@ spellings, shorter hostnames, or generic hostnames (for example, `localhost`).
**Example:** **Example:**
``` ```
127.0.0.1 example.org foo
127.0.0.1 example.com
# This is a comment # This is a comment
127.0.0.1 example.org example.info
127.0.0.1 example.com
127.0.0.1 example.net # this is also a comment
``` ```
The IP addresses are used to respond to the DNS queries for these domains. The IP addresses are used to respond to the DNS queries for these domains.
@ -583,8 +584,10 @@ A simple list of domain names, one name per line.
Example: Example:
``` ```
# This is a comment
example.com example.com
example.org example.org
example.net # this is also a comment
``` ```
If a string is not a valid domain (e.g. `*.example.org`), AdGuard Home will If a string is not a valid domain (e.g. `*.example.org`), AdGuard Home will