* [gentoo-user] prevent resolv.conf generation by dhcp
@ 2008-07-28 1:34 »Q«
2008-07-28 1:58 ` Kenneth Prugh
0 siblings, 1 reply; 3+ messages in thread
From: »Q« @ 2008-07-28 1:34 UTC (permalink / raw
To: gentoo-user
Since I connect to wireless APs with nameservers not patched against
the cache poisoning vulnerability, I'd like to stick with using the
opendns.com servers for a while. I'm using wpa_supplicant and
openresolv. What's the best way for me to keep my resolv.conf from being
overwritten when I connect?
So far, I've just put the opendns servers
in /etc/resolvconf/resolv.conf.d/head so that they are always on top,
which is probably good enough.
--
»Q«
Kleeneness is next to Gödelness.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] prevent resolv.conf generation by dhcp
2008-07-28 1:34 [gentoo-user] prevent resolv.conf generation by dhcp »Q«
@ 2008-07-28 1:58 ` Kenneth Prugh
2008-07-28 2:46 ` [gentoo-user] Re: prevent resolv.conf generation by dhcp [solved] »Q«
0 siblings, 1 reply; 3+ messages in thread
From: Kenneth Prugh @ 2008-07-28 1:58 UTC (permalink / raw
To: gentoo-user
On Sun, 27 Jul 2008 20:34:23 -0500
»Q« <boxcars@gmx.net> wrote:
> Since I connect to wireless APs with nameservers not patched against
> the cache poisoning vulnerability, I'd like to stick with using the
> opendns.com servers for a while. I'm using wpa_supplicant and
> openresolv. What's the best way for me to keep my resolv.conf from
> being overwritten when I connect?
>
> So far, I've just put the opendns servers
> in /etc/resolvconf/resolv.conf.d/head so that they are always on top,
> which is probably good enough.
>
In /etc/conf.d/net add:
dhcp_wlan0="nodns"
(or whatever your interface is)
Hope that helps.
--
Ken69267 | AMD64 Gentoo Linux Developer
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: prevent resolv.conf generation by dhcp [solved]
2008-07-28 1:58 ` Kenneth Prugh
@ 2008-07-28 2:46 ` »Q«
0 siblings, 0 replies; 3+ messages in thread
From: »Q« @ 2008-07-28 2:46 UTC (permalink / raw
To: gentoo-user
On Sun, 27 Jul 2008 21:58:10 -0400
Kenneth Prugh <ken69267@gmail.com> wrote:
> On Sun, 27 Jul 2008 20:34:23 -0500
> »Q« <boxcars@gmx.net> wrote:
>
> > Since I connect to wireless APs with nameservers not patched against
> > the cache poisoning vulnerability, I'd like to stick with using the
> > opendns.com servers for a while. I'm using wpa_supplicant and
> > openresolv. What's the best way for me to keep my resolv.conf from
> > being overwritten when I connect?
> >
> > So far, I've just put the opendns servers
> > in /etc/resolvconf/resolv.conf.d/head so that they are always on
> > top, which is probably good enough.
>
> In /etc/conf.d/net add:
>
> dhcp_wlan0="nodns"
>
> (or whatever your interface is)
>
> Hope that helps.
Thanks, yes, that did it.
--
»Q«
Kleeneness is next to Gödelness.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-28 2:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 1:34 [gentoo-user] prevent resolv.conf generation by dhcp »Q«
2008-07-28 1:58 ` Kenneth Prugh
2008-07-28 2:46 ` [gentoo-user] Re: prevent resolv.conf generation by dhcp [solved] »Q«
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox