MyNixOS website logo
option

programs.whois.settings

WHOIS configuration entries written to /etc/whois.conf.

Entries are written in the declared order, which matters when multiple patterns may match the same query.

Declarations
Type
list of (submodule)
Default
[ ]
Example
[
  {
    pattern = "\\.dn42$";
    server = "whois.dn42";
  }
  {
    pattern = "\\-DN42$";
    server = "whois.dn42";
  }
  {
    pattern = "^as424242[0-9]{4}$";
    server = "whois.dn42";
  }
  {
    pattern = "^172\\.2[0-3]\\.[0-9]{1,3}\\.[0-9]{1,3}(/(1[56789]|2[0-9]|3[012]))?$";
    server = "whois.dn42";
  }
]