Gentoo Archives: gentoo-user

From: Grand Duet <grand.duet@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Something went wrong with DNS, plz help!
Date: Sat, 26 Jul 2014 19:17:02
Message-Id: CACE6sH=hRTYw1QwnkBNsVkNTSik4LuzmLjp2-S3zQVkpv4Ap3g@mail.gmail.com
In Reply to: Re: [gentoo-user] Something went wrong with DNS, plz help! by Alan McKinnon
1 2014-07-26 21:19 GMT+03:00 Alan McKinnon <alan.mckinnon@×××××.com>:
2 > On 26/07/2014 18:16, Grand Duet wrote:
3 >> 2014-07-26 19:02 GMT+03:00 Alan McKinnon <alan.mckinnon@×××××.com>:
4 >>>
5 >>> On 26/07/2014 17:23, Grand Duet wrote:
6 >>>> The first reboot after recent update of the system have
7 >>>> shown that I cannot open any webpage in Firefox.
8 >>>>
9 >>>> More exactly, Firefox or my system cannot any more resolve
10 >>>> URL to IP address (sorry if I use wrong terms).
11 >>>>
12 >>>> Thus,
13 >>>> host gmail.com <http://gmail.com>
14 >>>> gives:
15 >>>> ;; connection timed out no servers could be reached
16 >>>>
17 >>>> Nevertheless
18 >>>> dig @8.8.8.8 <http://8.8.8.8> gmail.com <http://gmail.com>
19 >>>> reports the corresponding IP adresses.
20 >>>>
21 >>>> I have not changed any my network settings and my
22 >>>> /etc/conf.d/net file still contains list of my DNS servers
23 >>>> that contains server 8.8.8.8 as well but somehow it is
24 >>>> not enough any more. :(
25 >>>>
26 >>>> During my last system update, I suddenly found that
27 >>>> I had to update about 150 packages, what was a little
28 >>>> bit strange as I update my system at least once a week.
29 >>>>
30 >>>> I have attributed that to the remnants of gnome2 (now I am using
31 >>>> fxce4) that I have not cleaned completely and that is now going
32 >>>> to update. So, I deviated a bit from my usual system update routine
33 >>>> trying to fix that. Nevertheless, as to my view, during my system update
34 >>>> I did nothing to distroy the DNS lookup.
35 >>>>
36 >>>> Luckily, I save my system update logs and now can attach
37 >>>> the last one to this e-mail.
38 >>>>
39 >>>> Please, help me to recover my internet access,
40 >>>> as I still have to do a lot of real work till Monday
41 >>>> and have not enough time to investigate this problem
42 >>>> alone and without a proper internet access. :(
43 >>>
44 >>> what is the contents of /etc/resolve.conf?
45 >>
46 >> # Generated by net-scripts for interface lo
47 >> domain mynetwork
48 >>
49 >> That is all.
50 >>
51 >> I tried to add here lines like:
52 >>
53 >> nameserver 8.8.8.8
54 >>
55 >> but found out that this file is rewritten on every reboot.
56 >>
57 >> My net try was to create /etc/resolv.conf.tail file
58 >> and put that line there but that did not help either.
59 >
60 > Then the problem is obvious - you have no nameserver entries as you
61 > don't create any. The computer can't make them up by magic...
62
63 But it did it just before the last update: it created DNS entries in
64 /etc/resolv.conf
65 from my /etc/conf.d/net file on every reboot. And now it "cannot do this magic"?
66
67 > You need to create static nameserver entries because you use a static
68 > (i.e. no dhcp) configuration. Add them to /etc/resolvconf.conf
69
70 It does not help as /etc/resolv.conf is overwritten on every reboot.
71
72 > If it still gets removed across restarts
73
74 Yes, it does.
75
76 > then you have some local modification going on that does deletions
77
78 Yes, it does.
79
80 > you don't know about. You then have too find them and turn them
81 > into something you do know about.
82
83 ???
84
85 > Alan McKinnon
86 > alan.mckinnon@×××××.com
87 >
88 >

Replies

Subject Author
Re: [gentoo-user] Something went wrong with DNS, plz help! Peter Humphrey <peter@××××××××××××.uk>