Gentoo Archives: gentoo-user

From: Grand Duet <grand.duet@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] resolv.conf is different after every reboot
Date: Sun, 27 Jul 2014 09:21:34
Message-Id: CACE6sHkRsDRNWC+FhXOAyDinLzWqC+YtPvFe0s6J0p8CgXqh_w@mail.gmail.com
1 This is a continuation of the thread:
2 "Something went wrong with DNS, plz help!"
3
4 Now, the issue became clearer, so I decided to start
5 a new thread with more descriptive Subject.
6
7 In short: the contents of the file /etc/resolv.conf
8 is unpredictably different from one reboot to another.
9 It is either
10 # Generated by net-scripts for interface lo
11 domain mynetwork
12 or
13 # Generated by net-scripts for interface "eth0"
14 nameserver My.First.DNS-Server.IP
15 nameserver My.Second.DNS-Server.IP
16 nameserver 8.8.8.8
17
18 I tried to chmod this file to be unwrittable even for root
19 but after a reboot it have been overwritten anyway.

Replies

Subject Author
Re: [gentoo-user] resolv.conf is different after every reboot Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] resolv.conf is different after every reboot Walter Dnes <waltdnes@××××××××.org>