public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Something went wrong with DNS, plz help!
Date: Sat, 26 Jul 2014 20:19:35 +0200	[thread overview]
Message-ID: <53D3F137.3040308@gmail.com> (raw)
In-Reply-To: <CACE6sHm9x2roWJq40f-TJvwJiVHJW=qJdS=Qzb+TtF0Nm2cBoA@mail.gmail.com>

On 26/07/2014 18:16, Grand Duet wrote:
> 2014-07-26 19:02 GMT+03:00 Alan McKinnon <alan.mckinnon@gmail.com>:
>>
>> On 26/07/2014 17:23, Grand Duet wrote:
>>> The first reboot after recent update of the system have
>>> shown that I cannot open any webpage in Firefox.
>>>
>>> More exactly, Firefox or my system cannot any more resolve
>>> URL to IP address (sorry if I use wrong terms).
>>>
>>> Thus,
>>>    host gmail.com <http://gmail.com>
>>> gives:
>>>    ;; connection timed out no servers could be reached
>>>
>>> Nevertheless
>>>     dig @8.8.8.8 <http://8.8.8.8> gmail.com <http://gmail.com>
>>> reports the corresponding IP adresses.
>>>
>>> I have not changed any my network settings and my
>>> /etc/conf.d/net file still contains list of my DNS servers
>>> that contains server 8.8.8.8 as well but somehow it is
>>> not enough any more. :(
>>>
>>> During my last system update, I suddenly found that
>>> I had to update about 150 packages, what was a little
>>> bit strange as I update my system at least once a week.
>>>
>>> I have attributed that to the remnants of gnome2 (now I am using
>>> fxce4) that I have not cleaned completely and that is now going
>>> to update. So, I deviated a bit from my usual system update routine
>>> trying to fix that. Nevertheless, as to my view, during my system update
>>> I did nothing to distroy the DNS lookup.
>>>
>>> Luckily, I save my system update logs and now can attach
>>> the last one to this e-mail.
>>>
>>> Please, help me to recover my internet access,
>>> as I still have to do a lot of real work till Monday
>>> and have not enough time to investigate this problem
>>> alone and without a proper internet access. :(
>>
>> what is the contents of /etc/resolve.conf?
> 
>    # Generated by net-scripts for interface lo
>    domain mynetwork
> 
> That is all.
> 
> I tried to add here lines like:
> 
>   nameserver 8.8.8.8
> 
> but found out that this file is rewritten on every reboot.
> 
> My net try was to create /etc/resolv.conf.tail file
> and put that line there but that did not help either.

Then the problem is obvious - you have no nameserver entries as you
don't create any. The computer can't make them up by magic..

You need to create static nameserver entries because you use a static
(i.e. no dhcp) configuration. Add them to /etc/resolvconf.conf

If it still gets removed across restarts then you have some local
modification going on that does deletions you don't know about. You then
have too find them and turn them into something you do know about.



-- 
Alan McKinnon
alan.mckinnon@gmail.com



  parent reply	other threads:[~2014-07-26 18:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-26 15:23 [gentoo-user] Something went wrong with DNS, plz help! Grand Duet
2014-07-26 16:02 ` Alan McKinnon
2014-07-26 16:16   ` Grand Duet
2014-07-26 16:21     ` Jc García
2014-07-26 18:19     ` Alan McKinnon [this message]
2014-07-26 19:16       ` Grand Duet
2014-07-26 19:43         ` Peter Humphrey
2014-07-26 21:00           ` Grand Duet
2014-07-26 23:10             ` [gentoo-user] " walt
2014-07-27  9:07               ` Grand Duet
2014-07-26 16:09 ` [gentoo-user] " Jc García
2014-07-26 16:22   ` Grand Duet
2014-07-26 16:27     ` Jc García
2014-07-26 16:47       ` Grand Duet
2014-07-26 17:45         ` Volker Armin Hemmann
2014-07-26 18:38         ` Mick
2014-07-26 19:27           ` Grand Duet
2014-07-26 16:13 ` Mick
2014-07-26 16:35   ` Grand Duet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D3F137.3040308@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox