carta
update-hostname-from-ip(8)

update-hostname-from-ip8

Set current hostname to match the ip address

Usage

update-hostname-from-ip [-mMInq]

Overview

Set current hostname to match the IP address on eth0. This is useful when getting the IP address from DHCP.

Options

These are the options that can appear on the command line:

-m

use MAC address

-M MAC

use this MAC address

-I IP

use this IP address

-n

print only

-q

quiet

Authors

Debian Edu Team, https://blends.debian.org/edu

From debian-edu-config 2.13.2~deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.