Skip to content

Add cloud-init example for guest DNS resolver configuration#993

Open
ndecandia wants to merge 1 commit into
kubevirt:mainfrom
ndecandia:add-dns-cloudinit-example
Open

Add cloud-init example for guest DNS resolver configuration#993
ndecandia wants to merge 1 commit into
kubevirt:mainfrom
ndecandia:add-dns-cloudinit-example

Conversation

@ndecandia
Copy link
Copy Markdown

What this PR does / why we need it:

This PR improves the DNS records documentation by adding a practical cloud-init example for configuring the guest DNS resolver.

The current documentation explains the requirement for options ndots:2 or higher when resolving short names such as myvmi.mysubdomain, but it does not provide an example on how to configure the guest operating system.

The added example demonstrates how to configure DNS settings using cloud-init in a persistent and systemd-resolved friendly way.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes #

Special notes for your reviewer:

This is a documentation-only improvement.

Checklist

  • Design: not required
  • PR: The PR description is expressive enough and will help future contributors
  • Code: not applicable
  • Refactor: not applicable
  • Upgrade: not applicable
  • Testing: not applicable
  • Documentation: user-guide update included
  • Community: not required

Release note:

NONE

Signed-off-by: Nicola Marco Decandia <nicola@decandia.eu>
@kubevirt-bot kubevirt-bot added the dco-signoff: yes Indicates the PR's author has DCO signed all their commits. label May 16, 2026
@kubevirt-bot kubevirt-bot requested a review from EdDev May 16, 2026 17:18
@kubevirt-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign orelmisan for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot requested a review from ormergi May 16, 2026 17:18
@kubevirt-bot kubevirt-bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 16, 2026
@kubevirt-bot
Copy link
Copy Markdown
Contributor

Hi @ndecandia. Thanks for your PR.

I'm waiting for a kubevirt member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates the PR's author has DCO signed all their commits. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants