I suspect this is a default named.conf from this cpanel config? That is too bad, because its not that good, but I'll try to point out some of the key things that could be a problem.
Quote:
Originally Posted by Entrio
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};
|
check for that rndc.key file. If it exists and there is a line that begins with "key" you essentially want to put that same line in named.conf. If it doesn't existed, man rndc-confgen.
Quote:
options {
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:
*/
query-source port 53;
|
I strongly advise you remove that and configure your firewall to allow this DNS server, if its a caching server, to make queries from any port to destination port 53. You also need to allow any src port to talk to this server's port 53, both udp and tcp. Failure to remove this line will make this server very susceptible to a cache poisoning attack. Search "DNS kaminsky attack" for details.
Quote:
zone "ns1.splinteredmedia.net" {
type master;
file "/var/named/ns1.splinteredmedia.net.db";
};
zone "ns2.splinteredmedia.net" {
type master;
file "/var/named/ns2.splinteredmedia.net.db";
};
|
hmm, i don't think you mean to make those zones. those are probably nameserver records and belong in your splintermedia zones.
Quote:
zone "splintereddream.com" {
type master;
file "/var/named/splintereddream.com.db";
};
zone "splinteredmedia.net" {
type master;
file "/var/named/splinteredmedia.net.db";
};
|
do those db files exist? whats in them?
Quote:
zone "srv1.splinteredmedia.net" {
type master;
file "/var/named/srv1.splinteredmedia.net.db";
};
|
you probably don't want that either.