How to get Linux host name written in Windows DHCP and DNS?
arch at tuparks.com
Fri Jun 29 17:43:43 UTC 2007
Oops...I did not know about that network command...good to know!
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).
If I ping the IP address, I get normal returns.
If I "ping -c 5 execlinux", I get "ping: unknown host execlinux"
From: fedora-list-bounces at redhat.com
[mailto:fedora-list-bounces at redhat.com]On Behalf Of Charles Curley
Sent: Friday, June 29, 2007 1:27 PM
To: For users of Fedora
Subject: Re: How to get Linux host name written in Windows DHCP and DNS?
On Fri, Jun 29, 2007 at 12:54:23PM -0400, Arch Willingham wrote:
> This is sort of a duplicate to what I sent a second ago (our posts
> are passing each other). I did that and then rebooted.
Why reboot? Run "service network restart" instead.
> If I print out /etc/sysconfig/network-scripts/ifcfg-eth0, it looks
> like it takes it:
> # Broadcom Corporation BCM4401 100Base-T
Not necessarily. That is info about the network you've put in using
> If I try to ping it, look what happens:
> [root at tup ~]# ping execlinux
What happens if you run "host execlinux"? If you get something like
[root at dragon ~]# host execlinux
Host execlinux not found: 3(NXDOMAIN)
then the host name is not getting into DNS.
What happens when you ping the appropriate IP address? If you get
nothing back from pinging the host name (the apparent resonse here),
that suggests that the host name is set up correctly and you are
getting domain name resolution. However, you should get some sort of
complaint from ping. Try "ping -c 5". That will send five ICMP
packets, and complain if you don't get a response. e.g:
[root at dragon ~]# ping -c 5 phoenix
PING phoenix.localdomain (192.168.1.47) 56(84) bytes of data.
From dragon (192.168.1.4) icmp_seq=2 Destination Host Unreachable
From dragon (192.168.1.4) icmp_seq=3 Destination Host Unreachable
From dragon (192.168.1.4) icmp_seq=4 Destination Host Unreachable
From dragon (192.168.1.4) icmp_seq=5 Destination Host Unreachable
--- phoenix.localdomain ping statistics ---
5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3999ms
, pipe 3
Phoenix resolved correctly, but the host is down, so it is not
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
More information about the users