Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 15:27:58 -0400
From:      "Miroslav Pendev" <shadow@CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com>
To:        "Shawn Kennedy" <shawnlkennedy@lucent.com>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: DHCP/DNS question
Message-ID:  <00fe01c21890$9d119e50$c801a8c0@vsivyoung>
References:  <NEBBLNBDCLDILGOPJLGIOEPBCIAA.shawnlkennedy@lucent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Shawn,


> I'm confused (nothing new :-) as to what changed
> in regards to DHCP. Ever since the new DHCP stuff
> was folded in back in April, I've had a problem with
> DHCP and DNS here at work.  It seems my hostname
> is not getting set in the DNS server, but the 
> IP address is.
> 
> Confused?  Me too!

I do not know about the changes into DHCP... but 
As far as I know about DCHP<->DNS relations there are
two ways to get IP address and (or) HostName:

1.You must set up your host name BEFORE you 'send'
requests for IP address - in other words the IP address
may depends on the host name... or...

2.You will get your host name when you 'send' request
for IP address.

In order these to work you must have DHCP and DNS
servers working together. If you have only DHCP
you will get IP address no matter what your host name is.

> Situation:
> ----------
> I just wiped my box and installed a clean version 
> from the 4.6 iso disks.  I set up DHCP via sysinstall

What was your host name at the NIC configuration screen
right after you said "YES" for DCHP configuration?
Did you cnahge the name of your host or the field was empty?

Any ilegal characters into your host name like '_'
for example?

> so my /etc/dhclient.conf file is empty.  I get
> an IP address served to me from the DHCP server.
> When perform an "nslookup", the name of my box is
> not found and the IP address I get has someone else's
> box.  If I ping the IP address from another box, it is
> answered by my box.  This is a mostly-windows system
> around here, but the Linux guys say it works for them.
> It used to work for me as well.
> 
> I spoke to the DNS guy and he says it sounds like I'm not
> sending the host-name in the DHCP request.
> Again, a very generic install on my box. 
> 
> Any ideas where to start?

What is the content of /var/db/dhclient.leases  ?

I am not sure if these are the right questions,
but ... this is what I can help.

--Miro
 
> Shawn Kennedy
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00fe01c21890$9d119e50$c801a8c0>