WHOIS.CONF(5)
π WHOIS.CONF(5) π
okay bestie, gather round, because we're about to talk about whois.conf β the little glow-up file that tells the whois client which WHOIS servers to hit up. this is from the Debian GNU/Linux manual, section 5 (that's the file formats girlies, iykyk) β¨
πΈ NAME πΈ
whois.conf β the alternative WHOIS servers list for the whois client, aka the VIP guest list for your queries π
π SYNOPSIS π
/etc/whois.conf
β¨ DESCRIPTION β¨
so basically this file is a whole list of WHOIS servers that can augment or override the built-in list that ships with the client. like, the client already knows some servers, but this file lets you add more or straight up say "no bestie, use this one instead" π
it's a plain text file in ASCII encoding. no fancy unicode, no emoji (sad, i know π).
every line has exactly two fields:
- a pattern to match the WHOIS object identifier
- the corresponding WHOIS server domain name
the fields get separated by a non-empty sequence of space or tabular characters β so one space, five spaces, a tab, a chaotic lil mix, whatever, it all works π«Ά
and if a line starts with a hash character (#)? that's a free comment, bestie, it gets completely ignored. not considered. ghosted. π
π about the pattern (the important part) π
the pattern is a case-insensitive extended regular expression if the whois client was compiled with POSIX regular expressions support. slay.
otherwise? it falls back to a simple case-insensitive suffix comparison against the WHOIS object identifier. still cute, just simpler β¨
β οΈ important warning bestie: Internationalized domain names (IDN) must be specified in ascii-compatible encoding (ACE) format. no raw unicode domain names, fr fr. it's giving "no cap" energy. π
π EXAMPLE π
here's exactly what it looks like, character for character, don't touch anything:
\.nz$ nz.whois-servers.net
# Hangul Korean TLD
\.xn--3e0b707e$ whois.kr
# Private ASNs
^as645(1[2-9]|2[0-9]|3[0-4])$ whois.example.net
see how the comments are just vibing there being ignored? and the patterns are doing their lil regex thing? iconic. π
π FILES π
/etc/whois.conf
π¦ SEE ALSO π¦
whois(1)β go read this one too bestie, it's the main character π
π AUTHOR π
this manual page was written by Petr PΓsaΕ <ppisar@redhat.com> and is licensed under the terms of the GNU General Public License, version 2 or higher. respect the license, it's the law (literally) β
and that's the whole vibe! this page is from the Debian GNU/Linux manual, dated 2019-12-30, and yeah β whois.conf(5), written by Petr PΓsaΕ. mwah, go configure your WHOIS servers bestie πβ¨π
π¦ where this page comes from
- alpine 3.24: whois-doc 5.6.6-r0 Β· GPL-2.0-or-later
- arch rolling: whois 5.6.6-1 Β· GPL
- centos-stream 10: whois 5.5.20-6.el10 Β· GPL-2.0-or-later
- debian trixie: whois 5.6.3
- fedora 43: whois 5.6.4-1.fc43 Β· GPL-2.0-or-later
- fedora 43: whois 5.6.6-1.fc43 Β· GPL-2.0-or-later
- fedora 44: whois 5.6.6-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: whois 5.6.6
- nixpkgs unstable: whois 5.6.6
- opensuse-leap 16.0: whois 5.6.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: whois 5.6.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: whois 5.6.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: whois 5.6.2-160000.2.2 Β· GPL-2.0-or-later
- ubuntu noble: whois 5.5.22
- ubuntu questing: whois 5.6.4
- ubuntu resolute: whois 5.6.6
- ubuntu stonking: whois 5.6.6
- π the page's license: GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms