hostname(1) change

Matthew Dillon dillon at apollo.backplane.com
Sun Jan 4 18:55:57 PST 2004


:Thanks for the suggestion Emiel, attached is a new patchset (based on clean
:source), I haven't done much IPV6 work, but it seems to work ok, you can now
:do the following and get the same result;
:
:hostname www.6bone.net
:hostname -r 3ffe:b00:c18:1::10
:hostname -r 206.123.31.124

    I like it!  How would you like to add one more feature... the ability
    to have hostname pull the IP address out of a network interface and then
    reverse resolve it to set the host name, e.g.

    hostname -i fxp0

						-Matt






More information about the Submit mailing list