Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: DNSDOMAIN in /etc/conf.d/domainname has no effect?
Date: Fri, 26 May 2006 19:23:16
Message-Id: 20060526211745.f2834743.hilse@web.de
In Reply to: [gentoo-user] Re: DNSDOMAIN in /etc/conf.d/domainname has no effect? by Alexander Skwar
1 Hi,
2
3 On Fri, 26 May 2006 19:40:02 +0200
4 Alexander Skwar <listen@×××××××××××××××.name> wrote:
5
6 > Zac Slade wrote:
7 > > On Friday 26 May 2006 08:25, Alexander Skwar wrote:
8 >
9 > >> But I wonder what this DNSDOMAIN setting in /etc/conf.d/domainname is
10 > >> supposed to do. Because of
11 > > It sets the domain in /etc/resolv.conf
12 >
13 > No, it doesn't.
14
15 Well, it does (in /etc/init.d/domainname). But this is obviously
16 overwritten in your case by dhcp settings.
17
18 You're right with that OVERRIDE=1 doesn't fix this. Another start
19 of /etc/init.d/domainname should. The OVERRIDE flag just decides
20 whether the new "domain" setting goes to the start or the bottom
21 (OVERRIDE=1) of /etc/resolv.conf (that has influence, because
22 resolv.conf(5) says: "the last instance wins"). So what's probably
23 missing is another call to /etc/init.d/domainname after DHCP has set up
24 the interface.
25
26 -hwh
27 --
28 gentoo-user@g.o mailing list