Bug 11309
Summary: | ifup-post destroys local nameserver info in resolv.conf | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Barry Alcock <alcockba> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | bradley.g.smith, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-02-15 20:53:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Barry Alcock
2000-05-08 21:54:05 UTC
Almost forgot to mention. The ifcfg-ppp? files now have an additional entry. FIXED_DNS. This is the number of nameserver entries to leave alone. You can set PEERDNS=no to not have the resolv.conf changed; see /usr/doc/initscripts-<version>/sysconfig.txt. Alternatively, add a 'DNS1' or 'DNS2' entry that points to your local DNS. The problem is that I have 3 possible dialups to the Internet. I wish to use the DNS servers that are given to me. I want to keep the first DNS server entry as a primary server used for local lookups. Settings PEERDNS to 'no' or overriding DNS1 and/or DNS2 will prevent the true Internet DNS servers from being placed in resolv.conf. Fixing status, was 'REOPENED NOTABUG'. In a closely related problem I have found that when a ppp connection is "deactivated", the resolv.conf file is not restored to its previous configuration. I use ppp to connect to a private intranet on occasion (vpn is not allowed from non-Windows pcs). The ppp activation process properly adds an internal DNS entry into resolv.conf which maps names and IPs in the intranet. When the ppp connection is deactivated this intranet DNS entry remains in resolv.conf as the primary DNS. This results in sometimes very slow responses to any DNS query as the primary DNS connection needs to time out before the secondary DNS is queried. This is with RHEL WS 3. Closing out bugs on older, no longer supported releases. As to the last comment, please reopen a bug for that release if it persists. |