Domain search path (was Re: Fedora 7)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-01-05 Matthew Miller wrote:
> But anyway, man do I hate it when a DHCP connection overrides the
> default search path I put in there. When I type an unqualified name on
> my laptop, I expect it to always mean the same thing. Sigh.

Drove me crazy too before I discovered $LOCALDOMAIN lurking at the end
of the resolv.conf manpage.

	echo 'export LOCALDOMAIN="dom1.com dom2.org"' >>/etc/profile

Via ~/.bash_profile it even lets me set my domain search path on
machines where I don't have root.

When on my laptop, regardless of location (Starbucks, on a train, or
visiting a client), I want foohost to mean foohost.mydomain. I think
that's a common case, so maybe Anaconda (and/or s-c-n) should have an
option for entering a default domain search path to override the DHCP
one, save that value into /etc/sysconfig/foo, and then /etc/profile
could pick up that value as the system-wide default for $LOCALDOMAIN. 

--
Chris Tyler
http://chris.tylers.info

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux