Software⏱️ 4 min read📅 2026-06-19

How to Fix: webmin bind issue- error when i try to start bind

Error in named configuration due to missing NS records for zone mydomain.com/IN.

Quick Answer: Check if the NS records are correctly set up and try restarting the BIND service.

The error 'Failed to start BIND: Starting named: Error in named configuration: zone mydomain.com/IN: has no NS records zone mydomain.com/IN: not loaded due to errors. _default/mydomain.com/IN: bad zone [FAILED]' occurs when the BIND server is unable to resolve the DNS nameserver records for your domain. This issue affects users who have set up a domain with nameservers in Webmin, but have not properly configured the NS records.

This error can be frustrating because it prevents you from accessing your domain's services. However, by following the steps outlined below, you should be able to resolve this issue and get your domain up and running.

🔍 Why This Happens

  • The primary cause of this error is that the NS records for your domain are not properly set up in Webmin. Specifically, the zone 'mydomain.com/IN' is missing the NS records for its nameservers. To resolve this issue, you need to add the correct NS records for your nameservers.
  • An alternative reason for this error could be that there are typos or incorrect IP addresses in the address records for your nameservers. If this is the case, you will need to double-check these records and update them accordingly.

🚀 How to Resolve This Issue

Verify NS Records

  1. Step 1: Log in to Webmin and navigate to 'Bind' > 'Zones'. Select the zone for your domain (e.g., mydomain.com/IN) and click on the 'Edit' button.
  2. Step 2: In the 'NS Records' section, add the correct NS records for your nameservers. The format should be: ns1.mydomain.com IN NS ns2.mydomain.com IN NS
  3. Step 3: Make sure to double-check that the IP addresses are correct and there are no typos or spaces in the record names.
  4. Step 4: Click 'Save' to save the changes.

Verify Address Records

  1. Step 1: Log in to Webmin and navigate to 'Bind' > 'Zones'. Select the zone for your domain (e.g., mydomain.com/IN) and click on the 'Edit' button.
  2. Step 2: In the 'Address Records' section, double-check that the IP addresses are correct and there are no typos or spaces in the record names.
  3. Step 3: Make sure that the IP addresses match those assigned by your domain registrar.
  4. Step 4: If you find any errors, update them accordingly and click 'Save' to save the changes.

🎯 Final Words

Once you have verified and corrected the NS records and address records for your domain in Webmin, try restarting the BIND server. If you are still experiencing issues, you may want to contact your domain registrar or a professional for further assistance.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions