[GRLUG] /etc/resolv.conf

Godwin godwin at grandrapids-lug.org
Mon Aug 9 22:53:08 EDT 2010


On Mon, Aug 9, 2010 at 9:33 PM, Bob Kline <bob.kline at gmail.com> wrote:

> It's looking like it might come down to that.
>
> Which ones are relevant?
>
>    -- Bob
>
>
> On Mon, Aug 9, 2010 at 9:24 PM, Michael Mol <mikemol at gmail.com> wrote:
>
>> I recommend you read the relevant manpages.
>>
>> On Mon, Aug 9, 2010 at 9:22 PM, Bob Kline <bob.kline at gmail.com> wrote:
>> > Could be.  The configuration is not
>> > anything I did.  Some of it seems to
>> > date from when I set up the system.
>> > Something found my ISP, via the
>> > Ethernet connection, and presumably
>> > set things accordingly.
>> > As I said, I commented out a few things
>> > in the dhcpcd and wicd areas, so maybe
>> > that will override the changes....
>> >     -- Bob
>> >
>> >
>> > On Mon, Aug 9, 2010 at 8:53 PM, Michael Mol <mikemol at gmail.com> wrote:
>> >>
>> >> That depends on if you have your dhcp client configured to control it.
>> >>
>> >> I'm not familiar with wicd.
>> >>
>> >> On Mon, Aug 9, 2010 at 8:48 PM, Eric Hartwell <eric at erichartwell.net>
>> >> wrote:
>> >> > What device is giving out DHCP addresses? That device writes to
>> >> > resolv.conf
>> >> > when your computer requests and IP.
>> >> >
>> >> >
>> >> > - eah
>> >> > On Aug 9, 2010, at 8:26 PM, Bob Kline <bob.kline at gmail.com> wrote:
>> >> >
>> >> > I changed my nameserver entries
>> >> > in /etc/resolv.conf to use Google's.
>> >> > Much faster.
>> >> > But something keeps changing it
>> >> > back to Comcast's entries. Often.
>> >> > I can see that there are resolv.conf
>> >> > entries in several places,  including
>> >> > /var/lib/dhcpcd and /var/lib/wicd.
>> >> > Not what I want.
>> >> > Can someone provide a short word
>> >> > salad about how the resolv.conf entry
>> >> > in /etc/ is managed, and suggest how
>> >> > I go about overriding the changes?
>> >> > I can always tell when my changes are
>> >> > overwritten, because things slow down.
>> >> >    -- Bob
>> >> >
>>
>>
...both Network Manager and WICD <should> allow you to specify your own DNS.
  Network Manager calls it "Automatic (DHCP) address only".  Per this
screenshot <http://wicd.net/screenshot.php>, WICD calls it "Use Static
DNS".  I just tried it with Network Manager and /etc/resolv.conf does
reflect the change (after disabling/reenabling networking).

As JT said, though, that's something that your router should allow you to
set.  I run "m0n0wall" as my router and can specify which upstream DNS's it
will use and in what order.  My PCs just get the router's IP as their DNS.

G-


Ubber::Geek
http://grlug.org/

-- 
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/e7b1a190/attachment.html>


More information about the grlug mailing list