[omdb] Find internal DNS servers via /etc/resolv.conf#9674
Conversation
| ( | ||
| SwitchZoneState::Running { request, zone, worker }, | ||
| Some(new_request), | ||
| ) if request.addresses != new_request.addresses => { |
There was a problem hiding this comment.
maybe a dumb question - but if we tried to change the rack subnet after initialization, we'd presumably be taking this path?
I know the comment here is describing "moving from the bootstrap to underlay network", which is different - but I just want to know when/how the updated resolv.conf would get populated.
There was a problem hiding this comment.
I believe that's correct.
I tested this on dublin today. Cold booting sled 16, we see sled-agent configure the DNS install service up front: and (1 and 2 also worked on |
There are three changes in this PR:
omdbnow uses the system resolver instead of assuming a hardcoded rack subnet.network/dns/installSMF service to populate/etc/resolv.conf.network/dns/installin the site manifest.I tested changes 1 and 2 in a4x2, and things look good:
I'll need a racklette to test change 3; I'll wait until #9653 lands to do so. (Or I'll rebase on top of it to test early next week, if it hasn't landed yet.)
Fixes #9606.