Question about disabling BIND

after a very smooth and clean move to a new VPS provider I have found their DNS Manager to be very clean and simple. I would like to stop running the BIND server to take some work off the VPS.
My 3 domains were all originally setup to use the BIND/DNS from my Virtualmin server.
What if any issues will I run into after disabling BIND? Also is there a “best practices” way of doing this?
Like any special order to proceed in or changes before stopping BIND?
Thanks for any input,


You shouldn’t have any problems. Just disable BIND from “Webmin > System > Bootup and Shutdown” page using “Disable Now and On Boot”.

Next, from “Virtualmin > System Settings > Features and Plugins” page uncheck “BIND DNS domain” then click “Save”.

*** If you get an error when saving on this page, make sure that all domains have the feature disabled from “Edit Virtual Server” page before trying to make this adjustment. While on the “Features and Plugins” page there is a columned called “Domains” which tells you how many domains currently use this feature. ***

As a final step, you may want to block port 53 access to this machine so that outside computers/servers aren’t trying to poll this machine for DNS.

To do this, go to “Webmin > Networking > Linux Firewall” and delete the entries with “port is 53” in them, and click “Apply Configuration” to save the changes.

If you have any other questions, or run into any problems post them here, or send me a message on Skype.

Best Regards, Peter Knowles TPN Solutions

Phone: 604-229-0715 (new)
Skype: tpnsupport

Peter is of course right with all he said. :slight_smile: I’d just like to add a little background info: Basically you could keep BIND running on your system, or you can turn it off like Peter explained, it won’t really make a difference (except for a bit of resource usage).

It’s the NS entries at your domain registrar what dictates which nameserver is queried to resolve the domain. So if those point to your new VPS provider, their servers will get queried, and your BIND will just sit there idle, twiddling thumbs. :slight_smile:

What I’m saying is, no matter what you do with your BIND, as long as the registrar NS entries point to the right nameserver, DNS resolution will work.

@Peter: thanks for the excellent step-by-step. When I did this last week I did get the error and forgot about the virtual server features page.
@Locutus: Yes that would be true. As is the case with most VPS’s saving any resource is helpful.
Before I disable BIND a quick peek with top would be in order. If the usage is modest then I will just “turn off”(drop or reject) port 53.

Thank you gentlemen,