crenet
Verified User
- Joined
- Sep 23, 2019
- Messages
- 115
Hi,
I am on Debian 9.3 and I do not need named service on DA because I am using external but I still like to see DA creating the DNS records.
I read this thread
So I do the following steps:
Description=BIND Domain Name Server
Documentation=man:named(8)
After=network.target
Wants=nss-lookup.target
Before=nss-lookup.target
[Service]
Type=oneshot
ExecStart=/usr/bin/echo -n ''
Then I reboot an
systemctl status named
● named.service - BIND Domain Name Server
Loaded: loaded (/etc/systemd/system/named.service; static; vendor preset: ena
Active: failed (Result: exit-code) since Wed 2019-12-25 11:22:06 -01; 55s ago
Docs: man:named(8)
Process: 2116 ExecStart=/usr/bin/echo -n (code=exited, status=203/EXEC)
Main PID: 2116 (code=exited, status=203/EXEC)
Dec 25 11:22:06 host.domain.com systemd[1]: Starting BIND Domain Name Server.
Dec 25 11:22:06 host.domain.com systemd[2116]: named.service: Failed at step
Dec 25 11:22:06 host.domain.com systemd[1]: named.service: Main process exite
Dec 25 11:22:06 host.domain.com systemd[1]: Failed to start BIND Domain Name
Dec 25 11:22:06 host.domain.comt systemd[1]: named.service: Unit entered faill
Dec 25 11:22:06 host.domain.com systemd[1]: named.service: Failed with result
We still get the service in service list but stopped.
Is this what we expect when not using local DNS ?
Will the domain records be added ?
Thanks
I am on Debian 9.3 and I do not need named service on DA because I am using external but I still like to see DA creating the DNS records.
I read this thread
So I do the following steps:
- Edit /usr/local/directadmin/data/admin/services.status to named=OFF
- systemctl stop named
- systemctl disable named
- edit /etc/init.d/bind9 I added on top exit 0;
- cat /etc/systemd/system/named.service
Description=BIND Domain Name Server
Documentation=man:named(8)
After=network.target
Wants=nss-lookup.target
Before=nss-lookup.target
[Service]
Type=oneshot
ExecStart=/usr/bin/echo -n ''
Then I reboot an
systemctl status named
● named.service - BIND Domain Name Server
Loaded: loaded (/etc/systemd/system/named.service; static; vendor preset: ena
Active: failed (Result: exit-code) since Wed 2019-12-25 11:22:06 -01; 55s ago
Docs: man:named(8)
Process: 2116 ExecStart=/usr/bin/echo -n (code=exited, status=203/EXEC)
Main PID: 2116 (code=exited, status=203/EXEC)
Dec 25 11:22:06 host.domain.com systemd[1]: Starting BIND Domain Name Server.
Dec 25 11:22:06 host.domain.com systemd[2116]: named.service: Failed at step
Dec 25 11:22:06 host.domain.com systemd[1]: named.service: Main process exite
Dec 25 11:22:06 host.domain.com systemd[1]: Failed to start BIND Domain Name
Dec 25 11:22:06 host.domain.comt systemd[1]: named.service: Unit entered faill
Dec 25 11:22:06 host.domain.com systemd[1]: named.service: Failed with result
We still get the service in service list but stopped.
Is this what we expect when not using local DNS ?
Will the domain records be added ?
Thanks