Disable local DNS services

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:
  1. Edit /usr/local/directadmin/data/admin/services.status to named=OFF
  2. systemctl stop named
  3. systemctl disable named
  4. edit /etc/init.d/bind9 I added on top exit 0;
  5. cat /etc/systemd/system/named.service
[Unit]
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
 
This doesn't gone a help i guess but you never know.:)

Is some mail handled on this server , if yes then DKIM?


IF no for some domains read also here:
 
So what´s the conclusion about using DA also as a mail server and a external DNS service?
Do DA have support for this setup ?
Or the only solution will be using other script ?

Will DirectAdmin allow to show a DKIM public key even if DNS control is disabled for an user ?

Presently I am using a external DNS service and the DA DNS, are there any DNS implications with this setup ?
 
Last edited:
I don't have endconclusion myself while some are not implemented / possible... (yet)

As the DKIM, DKIM rotation , DANE TLSA-record .

Those are a problem then!

if using da dns together with external you have to copy /use DKIM manualy. ( With DKIM rotation and also DANE TLSA this is a pain in the. A.s )

IF DA with NODNS sofare i know both not possible (DKIM and DANE TLSA at all)

So request was made sofar i know but...
 
Back
Top