Merge lp:~harlowja/cloud-init/cloud-init-dns-sysconfig into lp:~cloud-init-dev/cloud-init/trunk
| Status: | Rejected |
|---|---|
| Rejected by: | Scott Moser on 2017-06-06 |
| Proposed branch: | lp:~harlowja/cloud-init/cloud-init-dns-sysconfig |
| Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
| Diff against target: |
71 lines (+23/-2) 1 file modified
cloudinit/net/sysconfig.py (+23/-2) |
| To merge this branch: | bzr merge lp:~harlowja/cloud-init/cloud-init-dns-sysconfig |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Approve on 2016-07-22 | |
| cloud-init commiters | 2016-06-18 | Pending | |
|
Review via email:
|
|||
Description of the Change
It appears that 'dns_nameservers' and 'dns_search' can be a per subnet/iface specification and the eni renderer actually handles this so make an attempt to in the sysconfig renderer as well.
- 1244. By Joshua Harlow on 2016-06-18
-
Ensure dns indexes are shared among subinterfaces
| Ryan Harper (raharper) wrote : | # |
| Joshua Harlow (harlowja) wrote : | # |
Ya, I had a hard time finding out how to make it so that each interface could have its own dns server and such configuration; it really seems like not many systems allow for doing this very well...
PASSED: Continuous integration, rev:1244
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Scott Moser (smoser) wrote : | # |
Hello,
Thank you for taking the time to contribute to cloud-init. Cloud-init has moved its revision control system to git. As a result, we are marking all bzr merge proposals as 'rejected'. If you would like to re-submit this proposal for review, please do so by following the current HACKING documentation at http://
Unmerged revisions
- 1244. By Joshua Harlow on 2016-06-18
-
Ensure dns indexes are shared among subinterfaces
- 1243. By Joshua Harlow on 2016-06-18
-
Add sysconfig 'dns_nameservers' and 'dns_search' per interface/subnet handling


This is fairly forward looking. Depending on the OS support for this sort of thing, it's certainly desirable for users to want to say things like "send queries to this server out this interface" however, I don't know of an OS that does this without more configuration elsewhere on the system.
For example, on Debian/Ubuntu, resolvconf and glibc certainly aren't doing this by default. One can imagine a more sophisticated bind or dnsmasq configuration but we're not doing that at this time.