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

Re: taming resolv.conf



On Wed, Apr 16, 2008 at 05:08:08PM +0000, Digby Tarvin wrote:
> On Wed, Apr 16, 2008 at 08:00:12PM +0300, Andrei Popescu wrote:
> > On Wed, Apr 16, 2008 at 04:16:13PM +0000, Digby Tarvin wrote:
> >
> > > Any suggestions? I do like the idea of having any static nameserver
> > > information in the /etc/network/interfaces file with the rest of
> > > the network config, so resolvconf would be good if it worked as
> > > expected....
> >
> > If I understood correctly what you want you need this is
> > /etc/network/interfaces:
> >
> >   dns-nameserver 123.234.123.234
> >
> > More info in /usr/share/doc/resolvconf/README.gz section 3.4
> >
> > Regards,
> > Andrei
> 
> Not quite. I only want the static information in the interfaces file.
> I still want the nameserver address that is supplied by DHCP to be
> used.
> 
> I do know how to hardwire a nameserver and IP address if I am not
> using DHCP, but resolvconf is not really so necessary in that
> situation.

I don't think the static dns server in the interfaces file will override 
the DHCP provided one, but I can't tell for sure. You will have to read 
the resolvconf docs for this.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: