Does cPanel started using chrooted bind or a bug?

Indianets

Well-Known Member
PartnerNOC
Jun 13, 2008
69
0
56
cPanel Access Level
Root Administrator
Hello,

I had a tough time finding the cause of old records being served after editing dns zone file. I was editing the .db file directly under /var/named/ but dig was returning the old records which I later found to be served from /var/named/chroot/var/named/ which had an old copy of this.

The server is brand new and just provisioned a week ago and running S46156 (latest stable). I could later find that /etc/sysconfig/named has a line appended

ROOTDIR=/var/named/chroot

which was never done by anyone on this server. Moreover, the timestamp of the file was the provisioning day, so it was possibly the default config after cpanel install.

Does it relate to the OS version and not cPanel, I have - REDHAT Enterprise 5.5 x86_64 ?

Anyone has this issue in a new server? My belief is stronger as I have 2 servers provisioned together on the same day and both of these had this same issue. None of our other servers has this. I could not find any such official update in cPanel changelog.

Any official words for this?

Thanks,
- Vijay