Skip to content

DNS search domains in AppVMs #2782

@Rudd-O

Description

@Rudd-O

In normal Qubes OS, AppVM DNS requests get forwarded through the ProxyVM and then to the NetVM, which in turn sends them.

The problem is that the resolver library in the AppVM will not obey the DNS search domains setting in the NetVM's resolv.conf (usually obtained via DHCP). So, if your business has a default domain search setting such as example.com and you ping aardvark from the NetVM, it will work correctly to resolve aardvark.example.com, but if you do that from the AppVM, bam, NXDOMAIN.

I see two solutions:

  1. A daemon like systemd-resolved or dnsmasq in the NetVM, which automatically and recursively resolves DNS requests coming from chained VMs by obeying resolv.conf's settings.
  2. A qrexec-based mechanism to set up resolv.conf in the chained VMs on boot of the VM, and to update it when the NetVM's resolv.conf changes.

What say you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: otherNo other component ("C:") label applies to this issue, or the appropriate label is not yet known.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions