This is a one way road. That is, you change it once and hope you will never have to touch it again. It might work for you now but try increasing customer retention to the point where your customers change domain registrars, mail hosting and/or spam filter provides more often than they change webhost then we will talk again.
I don't see how this comment has anything at all to do with my comment about deleting the domain from /etc/virtual/domains
You said:
after removing DNS zone from named.conf file, I was unable to uncheck "use local mailserver" checkbox inside DA.
And I told you, in not so many words, to uncheck it first and then delete the zone. Problem solved.
I think you are confusing "solution" with a "workaround".
For me they mean the same thing.
In any event, I am really not sure why you are so negative. You don't find this feature useful - fine, don't support it. But this is a forum for posting feature requests not objections. May I suggest we keep this discussion on topic.
I am not being negative excepting in pointing out that first having the DNS zone on the server does not hurt anything unless you are running a caching nameserver, which BTW you should not since it is very dangerous in itself, and if you remove the DNS zone it can actually break things like the check that DA does before adding a domain.
Imagine what would happen if a domain was added under a certain user and then the DNS was removed and then at a later point somebody tried to add that same domain again under a different user. The DNS check would prevent that but since the DNS has been removed all sorts of problems can happen.
So to accomplish this feature part of the core of DA would have to be rewritten.
DirectAdmin Support has already given their answer on this so a continuing discussion on this feature for the time being is moot.
I do see the big picture and see all the possible problems that can ensure because of this feature. I have only named one here. This feature has potential to wreak havoc on a server if used by a non experienced admin and we know from all the posts on this forum how many there are out there.
I would be remiss if I saw a danger and did not point it out to my fellow admins. Its not a matter of supporting a simple feature or not. Its a matter notifying admins of the potential danger of using such a feature. If you choose to ignore the danger then that is up to you. But I feel it is my moral duty to at least warn people.
So please take this with the spirit it is intended. Its intended as a warning, not that I am simply opposed to a feature. In fact I do not oppose any features unless there is such a danger of using it.