Gentoo Archives: gentoo-user

From: Sarpy Sam <sarpy.sam@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Static resolv.conf
Date: Wed, 17 Aug 2005 10:54:11
Message-Id: b69857cf05081703496e41aca@mail.gmail.com
In Reply to: Re: [gentoo-user] Static resolv.conf by Gyuri
1 > >
2 > >
3 > Yes, but after a reboot (I daily boot and shut down my computer) the
4 > file's content is refreshed by the DHCP server. (nameserver 192.168.0.1)
5 > --
6 > gentoo-user@g.o mailing list
7 >
8 >
9 I fixed this problem by adding the following flags to /etc/conf.d/net on the
10
11 dhcpcd_eth0="-R -N -Y"
12
13 line.
14
15 -R Prevents dhcpcd from replacing existing <etcDir>/resolv.conf file.
16
17 -Y Prevents dhcpcd from replacing existing <etcDir>/yp.conf file.
18 Domainname is not updated unless -D is specified.
19
20 -N Prevents dhcpcd from replacing existing <etcDir>/ntp.conf file.
21
22
23 --
24 Sarpy Sam
25
26 --
27 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: Static resolv.conf "Boyd Stephen Smith Jr." <bss03@××××××××××.com>