Date: Thu, 22 Jul 1999 10:31:56 -0400 From: Mitch Collinsworth <mkc@Graphics.Cornell.EDU> To: "Mark S. Reichman" <reichman@twcny.rr.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Requesting a hostname from a dhcp server Message-ID: <199907221431.AA045533916@broccoli.graphics.cornell.edu> In-Reply-To: Your message of "Wed, 21 Jul 1999 22:09:12 EDT." <37967D48.54AB5A72@twcny.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907221431.AA045533916>