On Sun, Jan 1, 2012 at 4:22 PM, bofh <[email protected]> wrote:
> On Sun, Jan 1, 2012 at 2:47 PM, Josh Jevosh <[email protected]> wrote:
>> Hello.
>>
>> I'm installing OpenBSD 5.0. When I configure the networking to DHCP it
goes
>> ahead and sets the DNS domain name to something that it got from my ISP. I
>> would like to only use the short name that I specified as the hostname as
>> the entire hostname excluding the rest of it that comes from my ISP. How
do
>> I do that?
>
> You want to play with the options in /etc/dhclient.conf. B I have
> supersede host-name and supersede domain-name in mine. B However, I
> don't know if you can use
>
> supersede domain-name "";

this constantly comes up on the list for some reason. it shouldn't
because it doesn't do anything

once you actually test it, you'll see that setting an option to the
empty string is the same as not setting the option at all (so dhclient
fallsback to defaults)

maybe it needs to be documented somewhere...

>
> as a valid option. B The better way is probably to include a search
> line in resolv.conf for the domain you are going to use (or the domain
> your ISP gives you). B Or get a free one from dyndns.org (or any other
> free ones).
>
> Everyone should really use FQDN - short names suck and make people lazy.
>
>
> --
> http://www.glumbert.com/media/shift
> http://www.youtube.com/watch?v=tGvHNNOLnCk
> "This officer's men seem to follow him merely out of idle curiosity."
> -- Sandhurst officer cadet evaluation.
> "Securing an environment of Windows platforms from abuse - external or
> internal - is akin to trying to install sprinklers in a fireworks
> factory where smoking on the job is permitted." B -- Gene Spafford
> learn french: B http://www.youtube.com/watch?v=30v_g83VHK4

Reply via email to