How to get Linux host name written in Windows DHCP and DNS?

Charles Curley charlescurley at charlescurley.com
Fri Jun 29 19:09:43 UTC 2007


On Fri, Jun 29, 2007 at 01:43:43PM -0400, Arch Willingham wrote:
> Oops...I did not know about that network command...good to know!
> 
> OK..here goes:
> 
> If I run "host execlinux"? The cursor just returns with no output
> (if I type the same thing from another machine, I get the error you
> mentioned).

I don't recall ever having host return with no message. It should
return an error message or an IP address and other information.


> 
> If I ping the IP address, I get normal returns.
> 
> If I "ping -c 5 execlinux", I get "ping: unknown host execlinux"

Those two together suggest a name resolution problem. That error
message suggests a non-Linux computer. It that's a Windows box, it
could have a caching issue. Or if you have multiple DNS servers, you
might have a propagation issue. To check the latter, on both machines
run several lookups specifying each of the DNS servers:

    [ccurley at dragon ~]$ host phoenix dragon
    Using domain server:
    Name: dragon
    Address: 192.168.1.4#53
    Aliases: 

    phoenix.localdomain has address 192.168.1.47
    [ccurley at dragon ~]$ host phoenix charlesc
    Using domain server:
    Name: charlesc
    Address: 192.168.1.3#53
    Aliases: 

    phoenix.localdomain has address 192.168.1.47



-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070629/40358a93/attachment-0001.sig>


More information about the fedora-list mailing list