mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-24 23:58:17 +03:00
b9682c4f10
Merge in DNS/adguard-home from 4079-hosts-again to master
Updates #4079.
Squashed commit of the following:
commit 6aa8cbf32e8e47ba46bf5fba7681a10b68b4bc01
Merge: 19dba371 34c95f99
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Wed Jan 12 14:05:30 2022 +0500
Merge branch 'master' into 4079-hosts-again
commit 19dba371cc30ab8b75b0116833f4ecf0ef0f182f
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Wed Jan 12 14:05:20 2022 +0500
aghnet: imp docs
commit 9f341eb8ee4ba8468240bc3eeeb4951a3f7f5e6d
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Mon Jan 10 18:44:17 2022 +0500
aghnet: fix races
commit fd66191c7637c8584711e5bb8186494327ce0f87
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Thu Jan 6 17:21:14 2022 +0500
aghnet: fix hosts container aliases
30 lines
No EOL
599 B
Text
30 lines
No EOL
599 B
Text
#
|
|
# 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 |