Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
search domain
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
croepha
n00b
n00b


Joined: 19 Dec 2010
Posts: 1

PostPosted: Sun Dec 19, 2010 9:51 pm    Post subject: search domain Reply with quote

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
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 622
Location: Yeovil, Somerset, UK

PostPosted: Sun Dec 19, 2010 10:20 pm    Post subject: Re: search domain Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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