1 # Configuration for getaddrinfo(3).
3 # So far only configuration for the destination address sorting is needed.
4 # RFC 3484 governs the sorting. But the RFC also says that system
5 # administrators should be able to overwrite the defaults. This can be
8 # All lines have an initial identifier specifying the option followed by
9 # up to two values. Information specified in this file replaces the
10 # default information. Complete absence of data of one kind causes the
11 # appropriate default information to be used. The supported commands include:
14 # If set to yes, each getaddrinfo(3) call will check whether this file
15 # changed and if necessary reload. This option should not really be
16 # used. There are possible runtime problems. The default is no.
18 # label <mask> <value>
19 # Add another rule to the RFC 3484 label table. See section 2.1 in
20 # RFC 3484. The default is:
26 #label ::ffff:0:0/96 4
31 # This default differs from the tables given in RFC 3484 by handling
32 # (now obsolete) site-local IPv6 addresses and Unique Local Addresses.
33 # The reason for this difference is that these addresses are never
34 # NATed while IPv4 site-local addresses most probably are. Given
35 # the precedence of IPv6 over IPv4 (see below) on machines having only
36 # site-local IPv4 and IPv6 addresses a lookup for a global address would
37 # see the IPv6 be preferred. The result is a long delay because the
38 # site-local IPv6 addresses cannot be used while the IPv4 address is
39 # (at least for the foreseeable future) NATed. We also treat Teredo
42 # precedence <mask> <value>
43 # Add another rule to the RFC 3484 precedence table. See section 2.1
44 # and 10.3 in RFC 3484. The default is:
46 #precedence ::1/128 50
48 #precedence 2002::/16 30
50 #precedence ::ffff:0:0/96 10
52 # For sites which prefer IPv4 connections change the last line to
54 #precedence ::ffff:0:0/96 100
57 # scopev4 <mask> <value>
58 # Add another rule to the RFC 3484 scope table for IPv4 addresses.
59 # By default the scope IDs described in section 3.2 in RFC 3484 are
60 # used. Changing these defaults should hardly ever be necessary.
61 # The defaults are equivalent to:
63 #scopev4 ::ffff:169.254.0.0/112 2
64 #scopev4 ::ffff:127.0.0.0/104 2
65 #scopev4 ::ffff:10.0.0.0/104 5
66 #scopev4 ::ffff:172.16.0.0/108 5
67 #scopev4 ::ffff:192.168.0.0/112 5
68 #scopev4 ::ffff:0.0.0.0/96 14
70 # For sites which use site-local IPv4 addresses behind NAT there is
71 # the problem that even if IPv4 addresses are preferred they do not
72 # have the same scope and are therefore not sorted first. To change
73 # this use only these rules:
75 #scopev4 ::ffff:169.254.0.0/112 2
76 #scopev4 ::ffff:127.0.0.0/104 2
77 #scopev4 ::ffff:0.0.0.0/96 14