summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPete <pete@debu.gs>2024-04-16 18:32:35 -0700
committerPete <pete@debu.gs>2024-04-16 18:32:35 -0700
commit58d025fb4c077129a0622184e9aa7e249fc2b981 (patch)
treefb803632dd294456f3b2afb00822ece4c7b00ab0 /man
parentfc74feaaa7dd839b973df075b081e1c110581499 (diff)
Document whois(1).
Diffstat (limited to 'man')
-rw-r--r--man/1/whois40
1 files changed, 40 insertions, 0 deletions
diff --git a/man/1/whois b/man/1/whois
new file mode 100644
index 00000000..dfaefe88
--- /dev/null
+++ b/man/1/whois
@@ -0,0 +1,40 @@
+.TH WHOIS 1
+.SH NAME
+whois \- query whois databases
+.SH SYNOPSIS
+.B whois
+[
+.B -a
+.I server
+]
+[
+.B -n
+]
+.I host
+.SH DESCRIPTION
+.I Whois
+queries whois servers to find owner information for domain names and
+network addresses. By default, it looks for referrals to other whois
+database servers and queries the next server in the chain if it finds
+one.
+
+.TP
+.B -a
+Specify a different server to start the query. (Default:
+.I tcp!whois.iana.org!43
+)
+.TP
+.B -n
+Do not attempt to follow referrals.
+.SH EXAMPLE
+To query for the owner of a domain and then an IP address, using a
+specific server while ignoring referrals to other servers:
+.IP
+.EX
+whois inferno-os.org
+whois -a whois.ripe.net -n 148.251.6.120
+.EE
+.SH SOURCE
+.B /appl/cmd/whois.b
+.SH "SEE ALSO"
+.IR RFC3912