From owner-freebsd-questions Thu Jul 22 7:34:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from broccoli.graphics.cornell.edu (broccoli.Graphics.Cornell.EDU [128.84.247.53]) by hub.freebsd.org (Postfix) with ESMTP id B4DD114CDF for ; Thu, 22 Jul 1999 07:34:30 -0700 (PDT) (envelope-from mkc@Graphics.Cornell.EDU) Received: from graphics.cornell.edu (localhost.graphics.cornell.edu) by broccoli.graphics.cornell.edu with ESMTP (1.37.109.16/16.2) id AA045533916; Thu, 22 Jul 1999 10:31:56 -0400 Message-Id: <199907221431.AA045533916@broccoli.graphics.cornell.edu> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Mark S. Reichman" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Requesting a hostname from a dhcp server In-Reply-To: Your message of "Wed, 21 Jul 1999 22:09:12 EDT." <37967D48.54AB5A72@twcny.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Jul 1999 10:31:56 -0400 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You can't request a hostname that isn't in the dhcp server's config file. (Well you can request it, but the server can't serve it.) If you can get the dhcp server admin to give you a static IP address then you can set up your own DNS service to map your own DNS name (hostname) to your IP address. But if your IP address is going to be changing it's going to be hard for your DNS to keep up with a moving target. Generally not worth the trouble. If you want a fixed DNS name (hostname), the first thing to do it get a fixed IP address. -Mitch >I was reading the dhclient.conf man page about >requesting a hostname from dhcp servers. >My question is, can I request any >hostname I want? ..or.. Should I request a hostname >with the dhcp server supplied domain appended to >my chosen hostname? Or, am I stuck with the >funky hyroglyphic looking hostname provided by the >dhcp server? Here is an excerpt >from the dhclient.conf man page. I am trying this exact >same thing but cant get it to work. >I do a dnslookup on the hostname I send and >nothing is found. Also, Is there a place to view the >reject statements from the server? > >--------- snip more dhclient.conf man page stuff ------ > > interface "ep0" { > send host-name "andare.fugue.com"; > >--------- snip more dhclient.conf man page stuff ------ > > >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