Files
2026-09-29 17:05:36 -04:00

30 lines
1.1 KiB
Plaintext

# libnx hosts file
#
# Optional. If this file is absent, libnx resolves names normally through the
# system resolver. Load it with nx_hosts_load_default(), which reads
# /var/lib/libnx/hosts.txt, or /var/lib/libnx/hosts.list if the first is missing.
# A missing file is not an error.
#
# One entry per line. Blank lines and lines starting with '#' are ignored.
# A '#' also starts an inline comment.
#
# <domain> <ipv4-or-ipv6-address> [<more-addresses>...]
# alias <domain> <target-domain>
#
# An alias makes <domain> resolve to whatever <target-domain> resolves to. The
# target must also be defined in this file; if it is not, the lookup fails.
# Direct addresses (domain first, then one or more IPv4/IPv6 addresses):
#
# example.com 93.184.216.34
# example.com 2606:2800:220:1:248:1893:25c8:1946
# local.test 127.0.0.1
# local.test ::1
# api.internal 10.0.0.5 10.0.0.6
# Aliases (alias <name> <target>):
#
# alias example.net example.com
# alias example.org example.com
# alias www.local local.test
github.com 140.82.114.3