gai.conf(5) File Formats Manual gai.conf(5) gai.conf - getaddrinfo(3) getaddrinfo(3) . RFC 3484 , (success rate). RFC . . RFC , . glibc /etc/gai.conf. Each line in the configuration file consists of a keyword and its parameters. White spaces in any place are ignored. Lines starting with '#' are comments and are ignored. : label _ , (label), RFC 3484 . label, , , . , , . . precedence _ label, (precedence), RFC 3484. precedence . reload . yes, . . no. scopev4 RFC 3484 IPv4. ID , 3.2 RFC 3438. . /etc/gai.conf The gai.conf file is supported since glibc 2.5. RFC 3484 : label ::1/128 0 label ::/0 1 label 2002::/16 2 label ::/96 3 label ::ffff:0:0/96 4 precedence ::1/128 50 precedence ::/0 40 precedence 2002::/16 30 precedence ::/96 20 precedence ::ffff:0:0/96 10 getaddrinfo(3), RFC 3484 () Azamat Hackimov , Dmitry Bolkhovskikh , Vladislav , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . gai.conf(5)