View previous topic :: View next topic |
Author |
Message |
croepha n00b
Joined: 19 Dec 2010 Posts: 1
|
Posted: Sun Dec 19, 2010 9:51 pm Post subject: search domain |
|
|
I am trying to figure out the gentoo appropriate way to do domain appending (ie when you do a search for foobar, it will try foobar.local) I have found that you can get this affect by adding a line like "domain local" to the resolve.conf, but im thinking that it should be able to figure it out from dns_domain in conf.d/net ... but it doesn't
Also, does anyone think that "local" should be a default domain name to search? |
|
Back to top |
|
|
gerdesj l33t
Joined: 29 Sep 2005 Posts: 622 Location: Yeovil, Somerset, UK
|
Posted: Sun Dec 19, 2010 10:20 pm Post subject: Re: search domain |
|
|
Are you sure it doesn't work. Try dns_search instead.
eg:
dns_search_myssid="local"
dns_search_eth0="local"
The first will take effect when connected to myssid via WiFi, the second will take effect when your NIC comes up.
If you use OpenRC look at /usr/share/doc/openrc-<version>/net.example or /etc/conf.d/net.example if not. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|