[GRLUG] /etc/resolv.conf

Bob Kline bob.kline at gmail.com
Mon Aug 9 23:04:22 EDT 2010


I now realize that it says that dhcpcd
generates /etc/resolv.conf:

"# Generated by dhcpcd for interface wlan0"

It seems to do this often.

Anyway, I seem to have defeated the
replacement of /etc/resolv.conf, so I'll
let it go at that for now.

Thanks all.

    -- Bob


On Mon, Aug 9, 2010 at 9:27 PM, John-Thomas Richards <jtr at jrichards.org>wrote:

> On Mon, Aug 09, 2010 at 09:14:30PM -0400, Bob Kline wrote:
> > Not sure I follow.  OK, I'm sure I don't.
> >
> > Why would the nameserver addresses
> > be changed in /etc/resolv.conf?  i.e., I
> > specifically want the Google name servers.
>
> The DHCP server provides not only your IP address, but the DNS server
> address(es).  Since the DNS server info is stored in /etc/resolv.conf
> your DHCP client necessarily overwrites the data you manually input into
> that file, unless you configure your client to do otherwise.  However...
>
> > I commented out the "search"  and "domain"
> > entries out of /var/lib/dhcpcd and /var/lib/wicd.
> > Maybe that will stop the changes.
> >
> >    -- Bob
>
> Since my router is my DHCP server I have it configured with OpenDNS
> server info so that my computers (all DHCP clients) receive the router's
> IP as the DNS server, rather than Comcast's.  The OpenDNS servers are
> much faster than Comcast's DNS servers.
>
> [snip]
> --
> john-thomas
> ------
> The only man who is really free is the one who can turn down an
> invitation to dinner without giving an excuse.
> Jules Renard, writer (1864-1910)
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20100809/b90eedc1/attachment-0001.html>


More information about the grlug mailing list