Bug 459961
| Summary: | [enh] use local caching nameserver for split DNS, among other things | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew Bartlett <abartlet> | ||||
| Component: | NetworkManager | Assignee: | Dan Williams <dcbw> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 12 | CC: | cdewolf, dcbw, marco.crosio, mcepl, mcepl, mike.cloaked, mjw, wtogami | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-12-05 07:08:36 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: | |||||||
| Attachments: |
|
||||||
|
Description
Andrew Bartlett
2008-08-25 09:40:01 UTC
FYI, this cannot be done with the glibc resolver. You'd need lwresd running, or a local caching nameserver that's able to do split DNS. NM used to launch bind as a local caching nameserver, but tons and tons of people started complaining about "why do I have to run bind on me desktop it's insecure and takes up memory wah wah" and such. Thus the functionality was removed. It could be accomplished again via dispatcher scripts, or a D-Bus enabled service (like named itself) listening to NetworkManager interface messages that would grab the IP4Config exported by NM for each connection and send that to the local caching nameserver, then rewrite /etc/resolv.conf to point to 127.0.0.1 automatically. I would be quite happy with a local caching DNS server running. It seems from the manual that lwresd would be more secure than the current setup (getting randomised source ports, assuming the bind9 library does that), but won't help with the zone splitting. (In reply to comment #1) > FYI, this cannot be done with the glibc resolver. You'd need lwresd running, > or a local caching nameserver that's able to do split DNS. NM used to launch > bind as a local caching nameserver, but tons and tons of people started > complaining about "why do I have to run bind on me desktop it's insecure and > takes up memory wah wah" and such. Thus the functionality was removed. Cannot we get at least optional -- i.e., if I have dnsmasq (or lwresd if that works, I don't know anything about that yet) installed, then I have a checkbox "Use DNS in this network only for the machines on this network" (similar to "Use this connection only for resources on its network"; my checkbox could be somehow subcheckbox for the latter or something). > It could be accomplished again via dispatcher scripts, or a D-Bus enabled > service (like named itself) listening to NetworkManager interface messages that IIRC, named doesn't work with DBUS anymore. > would grab the IP4Config exported by NM for each connection and send that to > the local caching nameserver, then rewrite /etc/resolv.conf to point to > 127.0.0.1 automatically. Could we get an example of this NMDispatcher script? Created attachment 329372 [details]
/etc/NetworkManager/dispatcher.d/99-dnsmasq-juggling
Attached script could be an example of what might work -- of course, it needs to be generalized and made working with some kind of configuration file. (This is mostly for other people stumbling on this bug as an information what could be done).
This message is a reminder that Fedora 9 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 9. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '9'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 9's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 9 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I understand this is still in Fedora 10, yet to check 11. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping *** Bug 632116 has been marked as a duplicate of this bug. *** This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |