rndc stuff 3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-10-28 11:57:01 +01:00
parent c3d4f66281
commit 9371794e2c
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ RUN \
mkdir -p /var/log/named && \
chown -R named:named /etc/named/zones /var/log/named && \
sed -i s,/etc/bind,/etc/named/zones, /etc/passwd && \
echo 'named ALL=(ALL) NOPASSWD: /bin/chown, /bin/chmod' >> /etc/sudoers
echo 'named ALL=(ALL) NOPASSWD: /bin/chown, /bin/chmod, /usr/sbin/rndc-confgen' >> /etc/sudoers
COPY named.conf /etc/named/
COPY rndc.conf /etc/named/