Add the -r option to set the hostname based on a reverse lookup of an IP
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 Jan 2004 08:29:34 +0000 (08:29 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 Jan 2004 08:29:34 +0000 (08:29 +0000)
commit639b96abc61265c3f0cff5203e527e07923823fb
treee54610f94b073c2d2e4e0012c4093ed55b6dc8a5
parent4beb866e5a96509b77dd73eea3f7bccb809174cf
Add the -r option to set the hostname based on a reverse lookup of an IP
address, the -i option to set the hostname based on a reverse lookup of
an interface's primary IP address, and -6 and -4 to select an interface's
IPV4 or IPV6 address to run the reverse on.

Submitted-by: Kent Ibbetson <bsd@kibbet.com>
bin/hostname/hostname.1
bin/hostname/hostname.c