Re: dhcp evils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 17 Apr 2005, Paul Howarth wrote:

> On Sat, 2005-04-16 at 23:25 -0500, Michael Hennebry wrote:
> > I'm pretty sure my setup is supposed to get the
> > hostname through through dhcp.  That is the way
> > it worked when I first managed to connect it
> > to the internet.
> >
> > Ideas anyone?
>
> DHCP gives you an IP address, not a hostname. The hostname then comes
> from doing a reverse lookup of the IP address (usually using DNS, but in
> some environments this might be a hosts file, NIS etc.).

Thanks.

My IP address is 24.117.45.226.
nslookup 24.117.45.226 produces 24-117-45-226.cpe.cableone.net.
hostname produces stmike.
/etc/hosts contains only
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost

I that infer my machine has not been getting its hostname through DNS.

Is there a way to ask the system where it did get the hostname?

-- 
Mike   hennebry@xxxxxxxxxxxxxxxxxxxxx
"I AM DEATH, NOT TAXES.  *I* ONLY TURN UP ONCE."  --  Death


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux