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. I have supersede host-name and supersede domain-name in mine. However, I don't know if you can use supersede domain-name ""; as a valid option. 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). 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." -- Gene Spafford learn french: http://www.youtube.com/watch?v=30v_g83VHK4

