Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2007 16:29:36 -0700 (PDT)
From:      L Goodwin <xrayv19@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   DHCP client configuration on FreeBSD
Message-ID:  <410393.84154.qm@web58103.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
When I ran the DHCP client configuration tool on
FreeBSD 6.2, it added a new hostname variable to
/etc/rc.conf below existing the hostname var (it did
not remove or comment-out the old hostname variable).

The NEW hostname includes the ISP's domain name:
  hostname="dhcppc0.<ISP domain name here>"

This hostname differs from the hostname listed in the
router's DHCP table "dhcpp0" (no domain name). It also
shows unique IP addresses and MAC addresses for all
hosts on the LAN.

I can ping the IP address assigned to the FreeBSD
system, but ping and net lookup fail when its hostname
is specified (both with and without the domain name).

Questions:
1) Why did the hostname get changed (does not occur
for Windows clients)?
2) Why does the hostname in /etc/rc.conf contain the
DNS domain name?
3) How do I resolve this problem?

Thanks!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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