View previous topic :: View next topic |
Author |
Message |
deadeyes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 May 2007 Posts: 83
|
Posted: Wed Dec 02, 2009 10:53 pm Post subject: SOLVED: multiple tunnels order of dns entries in resolv.conf |
|
|
Hi all,
I have multiple ppp tunnels and sometimes I need 2 of them or 1 ppp tunnel with a network interface.
However, the order of dns entries is not as I want.
If I am not mistaken there is a possibility to say what entries should come first in /etc/resolv.conf when using resolvconf.
Does anyone knows how I can fix this?
Thanks in advance
Last edited by deadeyes on Thu Dec 03, 2009 9:16 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
deadeyes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 May 2007 Posts: 83
|
Posted: Thu Dec 03, 2009 9:04 pm Post subject: |
|
|
UberLord wrote: | You can control the order of entries on a per interface basis using resolvconf. IE, the order of the interfaces
/etc/resolvconf.conf
Code: | interface_order="lo tun0 tun1 eth0 *" |
You may also want to look at private_interfaces if your tunnel configures domains. See resolvconf.conf(5) for details. |
Yes yes yes!!!
That was exactly what I was looking for! I had seen it before but couldn't remember.
And it seems to be very difficult to find on the internet (even the site that is listed with the package in portage does not clearly lists this possibility)
Thanks alot! (I was really frustrated about this :p) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|