feat(dns_server): Automate handling systemd-resolved #17

Open
opened 2026-07-12 18:43:02 -07:00 by jdelpilar · 0 comments
Owner

Summary

Automate the process of disabling systemd-resolved on dns servers

Context

systemd-resolved automatically binds to port 53 preventing dns servers from using it. This is an easy task to disable. However that task is being done manually for any dns hosts.

Proposed Changes

  • add the following task to dns_server role
    • stop and disable systemd-resolved
    • remove /etc/resolv.conf and create static file with correct nameserver to use

Verification Plan

  • verify /etc/resolv.conf is a static file
  • verify with ss -tupln that port 53 is only bound by the dsn container
### Summary Automate the process of disabling systemd-resolved on dns servers ### Context systemd-resolved automatically binds to port 53 preventing dns servers from using it. This is an easy task to disable. However that task is being done manually for any dns hosts. ### Proposed Changes - [ ] add the following task to dns_server role - [ ] stop and disable systemd-resolved - [ ] remove /etc/resolv.conf and create static file with correct nameserver to use ### Verification Plan - [ ] verify /etc/resolv.conf is a static file - [ ] verify with `ss -tupln` that port 53 is only bound by the dsn container
jdelpilar added the enhancement label 2026-07-12 18:43:02 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jdelpilar/johto-infra#17