networking.getaddrinfo.precedence
NixOS option
Similar to networking.getaddrinfo.label, but this option defines entries for the precedence table instead. See sections 2.1 and 10.3 of RFC 3484 for details. Providing any value will disable the glibc’s default precedence table.
type: null or (attribute set of signed integer)Default
null
Example
declared in: nixos/modules/config/getaddrinfo.nixView source on NixOS/nixpkgs →{
"2002::/16" = 30;
"::/0" = 40;
"::/96" = 20;
"::1/128" = 50;
"::ffff:0:0/96" = 10;
}