Blame posix/gai.conf

Packit 6c4009
# Configuration for getaddrinfo(3).
Packit 6c4009
#
Packit 6c4009
# So far only configuration for the destination address sorting is needed.
Packit 6c4009
# RFC 3484 governs the sorting.  But the RFC also says that system
Packit 6c4009
# administrators should be able to overwrite the defaults.  This can be
Packit 6c4009
# achieved here.
Packit 6c4009
#
Packit 6c4009
# All lines have an initial identifier specifying the option followed by
Packit 6c4009
# up to two values.  Information specified in this file replaces the
Packit 6c4009
# default information.  Complete absence of data of one kind causes the
Packit 6c4009
# appropriate default information to be used.  The supported commands include:
Packit 6c4009
#
Packit 6c4009
# reload  <yes|no>
Packit 6c4009
#    If set to yes, each getaddrinfo(3) call will check whether this file
Packit 6c4009
#    changed and if necessary reload.  This option should not really be
Packit 6c4009
#    used.  There are possible runtime problems.  The default is no.
Packit 6c4009
#
Packit 6c4009
# label   <mask>   <value>
Packit 6c4009
#    Add another rule to the RFC 3484 label table.  See section 2.1 in
Packit 6c4009
#    RFC 3484.  The default is:
Packit 6c4009
#
Packit 6c4009
#label ::1/128       0
Packit 6c4009
#label ::/0          1
Packit 6c4009
#label 2002::/16     2
Packit 6c4009
#label ::/96         3
Packit 6c4009
#label ::ffff:0:0/96 4
Packit 6c4009
#label fec0::/10     5
Packit 6c4009
#label fc00::/7      6
Packit 6c4009
#label 2001:0::/32   7
Packit 6c4009
#
Packit 6c4009
#    This default differs from the tables given in RFC 3484 by handling
Packit 6c4009
#    (now obsolete) site-local IPv6 addresses and Unique Local Addresses.
Packit 6c4009
#    The reason for this difference is that these addresses are never
Packit 6c4009
#    NATed while IPv4 site-local addresses most probably are.  Given
Packit 6c4009
#    the precedence of IPv6 over IPv4 (see below) on machines having only
Packit 6c4009
#    site-local IPv4 and IPv6 addresses a lookup for a global address would
Packit 6c4009
#    see the IPv6 be preferred.  The result is a long delay because the
Packit 6c4009
#    site-local IPv6 addresses cannot be used while the IPv4 address is
Packit 6c4009
#    (at least for the foreseeable future) NATed.  We also treat Teredo
Packit 6c4009
#    tunnels special.
Packit 6c4009
#
Packit 6c4009
# precedence  <mask>   <value>
Packit 6c4009
#    Add another rule to the RFC 3484 precedence table.  See section 2.1
Packit 6c4009
#    and 10.3 in RFC 3484.  The default is:
Packit 6c4009
#
Packit 6c4009
#precedence  ::1/128       50
Packit 6c4009
#precedence  ::/0          40
Packit 6c4009
#precedence  2002::/16     30
Packit 6c4009
#precedence ::/96          20
Packit 6c4009
#precedence ::ffff:0:0/96  10
Packit 6c4009
#
Packit 6c4009
#    For sites which prefer IPv4 connections change the last line to
Packit 6c4009
#
Packit 6c4009
#precedence ::ffff:0:0/96  100
Packit 6c4009
Packit 6c4009
#
Packit 6c4009
# scopev4  <mask>  <value>
Packit 6c4009
#    Add another rule to the RFC 6724 scope table for IPv4 addresses.
Packit 6c4009
#    By default the scope IDs described in section 3.2 in RFC 6724 are
Packit 6c4009
#    used.  Changing these defaults should hardly ever be necessary.
Packit 6c4009
#    The defaults are equivalent to:
Packit 6c4009
#
Packit 6c4009
#scopev4 ::ffff:169.254.0.0/112  2
Packit 6c4009
#scopev4 ::ffff:127.0.0.0/104    2
Packit 6c4009
#scopev4 ::ffff:0.0.0.0/96       14