networking.getaddrinfo.enable
NixOS option
Enables custom address sorting configuration for getaddrinfo(3) according to RFC 3484. This option generates a /etc/gai.conf file to override the default address sorting tables, as described in gai.conf(5). This setting is only applicable when using the GNU C Library (glibc). It has no effect with other libc implementations.
type: booleanDefault
declared in: nixos/modules/config/getaddrinfo.nixView source on NixOS/nixpkgs →pkgs.stdenv.hostPlatform.libc == "glibc"