Does BIND have to be disabled in local server to use remote DNSOnly servers?

deka

Member
Jul 24, 2014
17
0
1
cPanel Access Level
Root Administrator
I've installed DNSOnly in two VPS's, each VPS is for one nameserver. In three cPanel servers I then enabled DNS clustering and added both DNSOnly servers to each of them. All appears to be good - green status ticks in all servers.

DNS Role is write-only in cPanel server to DNSOnly servers.

The problem is the 3 cPanel servers all have client accounts hosted in them using 'local' named servers. If I edit a client DNS zone to use DNSOnly servers then no A records, SOA or Nameservers are found (nothing changes at DNSOnly servers). Is this because BIND is not disabled in local server?

If I disable BIND in local server, then all sites will, I assume, go down - How can I edit DNS zone records to use remote servers and also allow local nameservers to be used too?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello :)

It's okay to leave Bind enabled on the local name servers, but it's not required if you are using other servers for DNS purposes. Note the issue you described likely has nothing to do with Bind being enabled/disabled on the local name server. You should review a website such as IntoDNS for that domain name to see what the problem might be.

Thank you.
 

deka

Member
Jul 24, 2014
17
0
1
cPanel Access Level
Root Administrator
Thanks Michael

The problem is the domain is not resolving with the nameservers but I can't work out why as all looks good. I may just need to give propagation more time, though it has been 24 hours.

I thought it may have been BIND but I can now eliminate that. Thanks again for that info, it was really helpful.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
The problem is the domain is not resolving with the nameservers
Have you used the "dig" command or a website such as IntoDNS to determine if the name servers at the registrar are correct?

Thank you.
 

deka

Member
Jul 24, 2014
17
0
1
cPanel Access Level
Root Administrator
Since my lasy post the domain has propagated and now resolves without errors.

The following showed the NS's were correct but there was no A record:
Code:
[email protected] [~]# dig NS domain.com +trace
Further check showed:
Code:
[email protected] [~]# dig domain.com @nsxx.host.com
;domain.com. IN A

[email protected] [~]# dig domain.com @nsxx.host.com
;domain.com. IN A
It just took a bit longer than I'm used to for propagation but all good now.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
 

deka

Member
Jul 24, 2014
17
0
1
cPanel Access Level
Root Administrator
I was mistaken in believing that propagation was the reason for domains not resolving with the nameservers.

My cPanel DNS changes are wrote to DNSONLY and the /var/named/domain.com.db is updated, as expected. However, named.conf is not updated and therefore newly added domains do not resolve with the nameservers.

Domains are only wrote to named.conf if I run the following:
/usr/local/cpanel/scripts/rebuilddnsconfig

I've since added more domains, none of which are added to named.conf unless /usr/local/cpanel/scripts/rebuilddnsconfig is run.

Is this a known issue / bug?