Skip to content

feat: add DNS server to guest boot args - #1051

Draft
slash-init wants to merge 1 commit into
urunc-dev:mainfrom
slash-init:feat/1039-dns-server-boot-args
Draft

slash-init wants to merge 1 commit into
urunc-dev:mainfrom
slash-init:feat/1039-dns-server-boot-args

Conversation

@slash-init

Copy link
Copy Markdown

Description

This adds DNS server handling for guests that support configuring DNS through boot/runtime arguments.

The DNS server is read from the OCI /etc/resolv.conf mount and passed through NetDevParams to the guest-specific network configuration.

Currently this adds DNS handling for:

  • Mirage
  • Hermit
  • Mewz

Tests have also been added for the new DNS handling.

Rumprun is left out for now based on the discussion in #1039, since it does not appear to support configuring DNS through boot arguments.

Related issues

How was this tested?

  • Added unit tests for Mirage and Mewz DNS handling.
  • Ran the relevant Go tests locally.
  • The OCI /etc/resolv.conf -> NetDevParams.DNSServer path still needs end-to-end verification.

LLM usage

GPT 5.6 Luna was used to assist with implementation. All generated code was reviewed.

Checklist

@netlify

netlify Bot commented Sep 16, 2026

Copy link
Copy Markdown

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 1cc92ea
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/6aaa892707c5d00008872296

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Read and set the DNS server for every guest

1 participant