mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-10-26 11:27:18 +00:00
Merge in DNS/adguard-home from newline-lint to master
Squashed commit of the following:
commit 2fc0b662b9ac9d954275c5ebe8c140be4cd365be
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Thu Apr 6 14:16:14 2023 +0300
client: rm line
commit 10246727179a84094edd17fad5cd6f0a5c38b821
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Thu Apr 6 13:51:06 2023 +0300
all: add newline lint
39 lines
839 B
Plaintext
39 lines
839 B
Plaintext
#
|
|
# Test /etc/hosts file
|
|
#
|
|
|
|
1.0.0.1 simplehost
|
|
1.0.0.0 hello hello.world
|
|
|
|
# See https://github.com/AdguardTeam/AdGuardHome/issues/3846.
|
|
1.0.0.2 a.whole lot.of aliases for.testing
|
|
|
|
# See https://github.com/AdguardTeam/AdGuardHome/issues/3946.
|
|
1.0.0.3 *
|
|
1.0.0.4 *.com
|
|
|
|
# See https://github.com/AdguardTeam/AdGuardHome/issues/4079.
|
|
1.0.0.0 hello.world.again
|
|
|
|
# Duplicates of a main host and an alias.
|
|
1.0.0.1 simplehost
|
|
1.0.0.0 hello.world
|
|
|
|
# Same for IPv6.
|
|
::1 simplehost
|
|
:: hello hello.world
|
|
::2 a.whole lot.of aliases for.testing
|
|
::3 *
|
|
::4 *.com
|
|
:: hello.world.again
|
|
::1 simplehost
|
|
:: hello.world
|
|
|
|
# See https://github.com/AdguardTeam/AdGuardHome/issues/4216.
|
|
4.2.1.6 domain domain.alias
|
|
::42 domain.alias domain
|
|
1.3.5.7 domain4 domain4.alias
|
|
7.5.3.1 domain4.alias domain4
|
|
::13 domain6 domain6.alias
|
|
::31 domain6.alias domain6
|