How can I add Zone with Local data=no and Local mail=yes?

How did you create that local data=no zone? Because as far as I remember that's only for multi-server dns clustering.

It looks like you are looking for a way to only accept mail.

If you are looking for a backup-mx method, have look at this, maybe that might be of help.
https://help.directadmin.com/item.php?id=167

For only email, you just create an account including the local data because that does not make any difference if you only point the MX record at your registrar to your server ip.

Maybe it's easier to understand if you explain what exactly you are trying to accomplish with this.
 
I just did it. And didn't know whether it is correct. If there were any mistake, please correct me.

It is because someone accidentally deleted an information, hostname, in DNS Administration page.
This is single server. I would like to add my server hostname to DirectAdmin so that my server is ready to send and receive emails.
I went to Admin Tools --> DNS Admnistratrion -->Add Zone
Domain name = myhost.mydomain.com (this is my server name)
IP = xxx.xxx.xxx.xxx (my server IP)
Name server 1 = ns1.mydomain.com ( I have already added in DNS Administration with local data=no, local mail=no)
Name server 2 = ns2.mydomain.com ( I have already added in DNS Administration with local data=no, local mail=no)
Then, I clicked on Add button.

Then, I make sure that what I have done according to https://help.directadmin.com/item.php?id=16

Now, both send and receive mail functions are OK. Anyway, not sure that these are all about what I should do.
 
I don't know about the mail system but this is not correct:
Code:
Domain name = myhost.mydomain.com (this is my server name)
What you entered is your hostname. The domain name should be mydomain.com without the "myhost.".

For your hostname, you should set this up under Admin Level -> Extra features -> Administrator settings -> "Server's Hostname".
Normally there also are the nameservers put if the domain is created.

I wouldn't know how you can add name servers with local data=no and local mail=no to a system. I wonder how you did that.

As for the mail stuff in the help section, I presume you did all correctly.
 
Back
Top