From owner-freebsd-questions Thu Jun 20 12:27: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com (CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com [24.103.39.131]) by hub.freebsd.org (Postfix) with SMTP id A602637B400 for ; Thu, 20 Jun 2002 12:26:56 -0700 (PDT) Received: (qmail 4843 invoked from network); 20 Jun 2002 19:27:15 -0000 Received: from unknown (HELO vsivyoung) (66.46.21.253) by cpe0004761ac738-cm00109515bc65.cpe.net.cable.rogers.com with SMTP; 20 Jun 2002 19:27:15 -0000 Message-ID: <00fe01c21890$9d119e50$c801a8c0@vsivyoung> From: "Miroslav Pendev" To: "Shawn Kennedy" Cc: "freebsd-questions" References: Subject: Re: DHCP/DNS question Date: Thu, 20 Jun 2002 15:27:58 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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