Persist resolvectl changes across reboots
3
votes
4
answers
1305
views
I'm using LXC containers, and resolving CONTAINERNAME.lxd to the IP of the specified container, using:
sudo resolvectl dns lxdbr0 $bridge_ip
sudo resolvectl domain lxdbr0 '~lxd'
This works great! But the changes don't persist over a host reboot - how can I make them do so?
I'm on Pop!_OS 22.04, which is based on Ubuntu 22.04.
(I've described 'things I've tried' as answers to this question, which have varying degrees of success.)
Asked by Jonathan Hartley
(480 rep)
Sep 27, 2022, 06:42 PM
Last activity: Jan 9, 2025, 08:36 PM
Last activity: Jan 9, 2025, 08:36 PM