|
Bugzilla – Full Text Bug Listing |
| Summary: | Missing option to preserve specified nameservers with dhcp | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | S. Handgraaf <s.handgraaf> |
| Component: | Network | Assignee: | Christian Zoz <zoz> |
| Status: | VERIFIED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | patch for always adding a specific nameserver | ||
|
Description
S. Handgraaf
2005-12-04 04:11:58 UTC
1) preserve nameservers: Seife, that is what you wanted, too, isn't it? 2) Modify forwardes for local dns: See /etc/sysconfig/network/config:MODIFY_NAMED_CONF_DYNAMICALLY I don't see the problem. Don't modify resolv.conf at all. (If you preserve searchlist as well as nameservers this effectively means "no modification" because that's the only things that would be modified.) Rewriting forwarders in local named.conf works fine... what's the problem? Do you have an answer for me? Thanks in advance! Reporter seems to have lost interest. But Seife told on monday me about a patch for modify_resolvconf. Seife, it's your turn to change something due to this bug report. Otherwise it will probably be resolved invalid soon. Created attachment 67129 [details]
patch for always adding a specific nameserver
This is the patch i used. It is arguable if the "static" nameserver should be put before or after the "dynamic" nameservers. IIRC i had one usecase where before was better and one where after was better ;-(
How about MODIFY_RESOLV_CONF_STATIC_DNS instead of MODIFY_RESOLV_CONF_ALWAYS_ADD? And of course we should prepend the static dns: + for a in $MODIFY_RESOLV_CONF_STATIC_DNS $DNS; do OK? Seife? Peter? Perfect. My patch was just meant as a suggestion or a proof of concept :-) Good idea, I think Added to svn. Will be in beta4 |