host and hostname

Peter Ulrich Kruppa root at pukruppa.de
Wed Sep 3 01:06:21 PDT 2003


On Wed, 3 Sep 2003, Rommel B. Ikeda wrote:

> Hi...
>
> I am still a newbie...and practicing how to get use to FreeBSD and UNIX...
>
> I have a question:
> Why is it when I invoke the command "host", this comes out "host not found,
> try again".
host selects information from the internet about registered
domains, try
# host freebsd.org

> But if I invoke the "hostname" command it displays my hostname and Domain...
hostname reads your local /etc/rc.conf file.


Regards,

Uli.

>
> Can someone point me to some information about it aside from the man
> pages...
>
> Thank you,
>
> Rommel B. Ikeda
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

	+---------------------------+
	|    Peter Ulrich Kruppa    |
        |         Wuppertal         |
        |          Germany          |
        +---------------------------+


More information about the freebsd-questions mailing list