Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 10:45:08 -0500
From:      bazzoola <bazzoola@gmail.com>
To:        Kevin Kinsey <kdk@daleco.biz>
Cc:        fbsd_user@a1poweruser.com, freebsd-questions@freebsd.org
Subject:   Re: hostname and domains
Message-ID:  <42949D84.5030407@gmail.com>
In-Reply-To: <4293C2C6.7080507@daleco.biz>
References:  <MIEPLLIBMLEEABPDBIEGKEJLHFAA.fbsd_user@a1poweruser.com> <4293A79F.5090909@gmail.com> <4293C2C6.7080507@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Kinsey wrote:

>
>>> -----Original Message-----
>>> From: owner-freebsd-questions@freebsd.org
>>> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of bazzoola
>>> Sent: Tuesday, May 24, 2005 5:55 PM
>>> To: freebsd-questions@freebsd.org
>>> Subject: hostname and domains
>>>
>>>
>>> Greetings,
>>>
>>> I have Three workstations all of them are pretty much setup the same
>>> way. All of them use DHCP and all of them connect to the same server
>>> (I do not know what is it running as of now)
>>>
>>> The first workstation is Windows XP. It receives its IP and hostname
>>> correct basically I get 10.0.0.201 and winxp.mydomain.com as a
>>> hostname both host and IP resolve to each other correctly
>>> The second workstation is Mac OS X. It receives similar enough
>>> 10.0.0.202 and macosx.mydomain.com as a hostname both IP and
>>> hostname resolve to each other correctly.
>>>
>>> The third which is a FreeBSD 5.4-Release receives an IP address
>>> 10.0.0.203 but does not get a hostname. Well the hostname is setup
>>> in rc.conf as bsd01 but the DNS in the domain is not aware of it for
>>> some reason.
>>>
>>> The NS can resolve macosx and winxp but it cannot resolve the
>>> hostname for bsd01.
>>>
>>> Any thoughts what is going here?
>>>
>>> Thanks in advance,
>>> bazzoola
>>>
>
> There is some magic you must perform on the dhcp server
> and to dhclient.conf; see dhclient.conf(5) for details.
>
> HTH,
>
> Kevin Kinsey
>
Thanks for the suggestion Kevin
To fix the problem I added the following to dhclient.conf
# --

send host-name "mbsd01.mydomain.com";

request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name;

require subnet-mask, domain-name-servers, domain-name;

# --
bazzoola




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42949D84.5030407>