Just installed cPanel. Some easy (probably) Questions about DNS and quotas

thowe

Registered
May 1, 2013
4
0
1
cPanel Access Level
Root Administrator
Hi.

So I have cPanel working, it seems. testing a website with it now.

What is the best way to customize the named.conf file? Specifically I need to set the allow-transfer option. I have just edited /etc/named.conf by hand, and it is working how I want it to, but I thought there might be a preferred way since this file apparently is directly edited by WHM.

Is there a provided way to get a list of domains that the DNS server provides zone files for? Obviously I could just look for zone files or parse the /etc/named.conf file, but I know there are various APIs and databases, so I thought there might be an easier way. I generate lists from my other managed DNS servers to build the configs for my public authoritative resolvers.

Lastly, if I set disk quotas is that for everything including all email storage?

Thanks for your time.

--TimH
 

simonas

Well-Known Member
Apr 21, 2013
141
0
16
Lithuania
cPanel Access Level
Root Administrator
Too bad. I was considering - creating Cpanel DNSonly or custom nameserver system.
I chose dnsonly (it's free) simply because it's only few clicks. Fast enabling on new servers..

There is an API, and ability to fetch / manipulate DNS records.
But i believe old-school named.conf would be faster and easier.

About quotas, yes, everything is included.
If user will be over quota his emails will bounce back to sender.

P.S. cpanel will rarely edit named.conf - that would be BIND or Cpanel major update.

As said by Someone from cpanel:
If you add entries to /etc/named.conf file manually, they should not be overwritten by adding new zones for those entries. That file isn't rebuilt each time unless you run the rebuild script manually, which most people do not run that rebuild script.
Good luck!
 
Last edited:

thowe

Registered
May 1, 2013
4
0
1
cPanel Access Level
Root Administrator
About quotas, yes, everything is included.
If user will be over quota his emails will bounce back to sender.

P.S. cpanel will rarely edit named.conf - that would be BIND or Cpanel major update.
That's good to know. Thanks!

I'm also wondering about the limits on emails sent in an hour... Does that include Mailman list email?

Also, are the emails that are over this limit get spooled until such time as more can be sent?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
... They stay in queue.
Not necessarily, see here:
Tweak Settings

Settings "Max hourly emails per domain" & "The percentage of email messages (above the domain's hourly maximum) to queue and retry for delivery. "