Bug 18619 - DHCP interfaces should have a NO-DNS option
DHCP interfaces should have a NO-DNS option
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2000-10-07 16:56 EDT by compwiz
Modified: 2014-03-16 22:16 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-10 15:20:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description compwiz 2000-10-07 16:56:11 EDT
Generally when ifup uses an interface which uses DHCP and which updates
DNS, /etc/resolv.conf gets updated. /sbin/pump has an option -d which makes
sure /etc/resolv.conf isn't updated every time. This should be an option in
ifcfg-* so I don't have to edit ifup manually.
Comment 1 Nalin Dahyabhai 2000-10-10 14:10:08 EDT
This can also be controlled by editing your /etc/pump.conf file, but it might be
a good idea to add that as an option in the init script (by overloading
PEERDNS?) since I'm not sure how you do this in dhcpcd's configuration files.
Comment 2 compwiz 2000-10-10 15:20:39 EDT
Well, -R is the dhcpcd equivalent to -d in pump. And /etc/pump.conf isn't
created by default, so it wouldn't really be obvious.. it would make a lot more
sense to put it in a variable in ifcfg.. Basically this is what my lines 94 & 95
look like in /etc/sysconfig/network-scripts/ifup:

(As opposed to without -d & -R)
Comment 3 Bill Nottingham 2000-12-12 03:06:07 EST
Sounds like a plan. Added in initscripts-5.53-1; just add
to /etc/sysconfig/network-scripts/ifcfg-eth*.

Note You need to log in before you can comment on or make changes to this bug.