not sure if this is because of the issue
i read something about restarting the bind dns server which i did and i got this error
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2024-11-29 17:50:03 UTC; 38s ago
Process: 2093310 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
Process: 2089687 ExecReload=/bin/sh -c if /usr/sbin/rndc null > /dev/null 2>&1; then /usr/sbin/rndc reload; else /bin/kill -HUP $MAINPID; fi (code=exited, status=1/FAILURE)
Process: 2093328 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=1/FAILURE)
Process: 2093325 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)
Main PID: 697 (code=exited, status=0/SUCCESS)
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: using 1 UDP listener per interface
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: using up to 21000 sockets
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: loading configuration from '/etc/named.conf'
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: /etc/named.conf:13: change directory to '/var/named' failed: permission denied
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: /etc/named.conf:13: parsing failed: permission denied
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: loading configuration: permission denied
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: exiting (due to fatal error)
Nov 29 17:50:03 svruk01.clickns.cloud systemd[1]: named.service: Control process exited, code=exited status=1
Nov 29 17:50:03 svruk01.clickns.cloud systemd[1]: named.service: Failed with result 'exit-code'.
Nov 29 17:50:03 svruk01.clickns.cloud systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).