Customized Named.conf In CPanel

Oct 28, 2009

I'd like to add geodns to BIND, so I need to modify named.conf. All that I will put into is a include of an acl file (for different IP ranges), and add a new view for existed domain.

My VPS use cPanel. What is the best way to handle this, as named.conf can be modify by cPanel? I can modify the template in /scripts/rebuilddnsconfig, but I don't know how to add a new view.

There's only one site in my VPS. But I use a few subdomains in DNS (legacy issues). Only one db file in /var/named/

View 2 Replies


ADVERTISEMENT

Fatal! Named.conf Fails Named-checkconf

Mar 2, 2008

i have adidcated server any i get anew one
and my site is rock2host.com
on the domain name i make the ns1 - ns2-ns3-ns4 of ips of the new server
but the problem that to this time there is no any account on my server is working
as i have adns error but i do not what is the problem
i made that

DNS Functions
Adding an A entry for your hostname
Bind reloading on server using rndc zone: [rock2host.com] Error reloading bind on server: rndc: get config key list: not found

DNS Functions
Cleanup Nameserver Config File
Fatal! named.conf fails named-checkconf, please repair named.conf and try again

View 14 Replies View Related

DNS Issues Rndc.conf & Named.conf

Apr 8, 2009

It started with this error:

Bind reloading on server01 using rndc zone: [ns1.mydomain.net]
Error reloading bind on server01: rndc: connect failed: 127.0.0.1#953: connection refused

so i did the obvious checked the csf firewall to see if port 953 was enabled and it was

so i took a look at rndc.conf

Code:
root@server01 [~]# nano /etc/rndc.conf
#start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
};

options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf

# Use with the following in named.conf, adjusting the allow list as needed:
#key "rndc-key" {
# algorithm hmac-md5;
# secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
#};
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
Then i took a look at named.conf

Code:
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;

/* We no longer enable this by default as the dns posion exploit
has forced many providers to open up their firewalls a bit */

// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
pid-file "/var/run/named/named.pid";
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
/* memstatistics-file "data/named_mem_stats.txt"; */
};

logging {
/* If you want to enable debugging, eg. using the 'rndc trace' command,
* named will try to write the 'named.run' file in the $directory (/var/named").
* By default, SELinux policy does not allow named to modify the /var/named" directory,
* so put the default debug log file in data/ :
*/
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

// All BIND 9 zones are in a "view", which allow different zones to be served
// to different types of client addresses, and for options to be set for groups
// of zones.
//
// By default, if named.conf contains no "view" clauses, all zones are in the
// "default" view, which matches all clients.
//
// If named.conf contains any "view" clause, then all zones MUST be in a view;
// so it is recommended to start off using views to avoid having to restructure
// your configuration files in the future.

view "localhost_resolver" {
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
*/
match-clients { 127.0.0.0/24; };
match-destinations { localhost; };
recursion yes;

zone "." IN {
type hint;
file "/var/named/named.ca";
};

/* these are zones that contain definitions for all the localhost
* names and addresses, as recommended in RFC1912 - these names should
* ONLY be served to localhost clients:
*/
include "/var/named/named.rfc1912.zones";
};

View 5 Replies View Related

Where Is /etc/named.conf

May 31, 2008

i am running centos 5 with bind9 and there is no /etc/named.conf. All i could find is /etc/named.caching-nameserver.conf

i am planning to runs dns nameserver for my domain. where to do zone entries?

View 9 Replies View Related

Deleted /etc/named.conf?

May 30, 2008

i have cpanel running on my dedicated server and i have accidentally deleted /etc/named.conf

how to recover it? will cpanel maintain backup or of some sort? i havent stopped bind so my sites are working till now.

View 9 Replies View Related

/etc/named.conf Not Work

Jun 21, 2007

last night i was looking for closing my Open DNS to close it ...

but it's seems that i keep playing in the file name
/etc/named.conf

i back up it before

but when i finish i didn't cp /named.conf

i type mv named.conf-back /etc/named.conf

and all my server now is down and the support sooo bad ...

they just told me some commands and it's didn't work

then they didn't respond on my ...

View 14 Replies View Related

/etc/named.conf:87: Unknown Option 'e'

Aug 11, 2008

I have the following problem:
When i try to restart the nameserver service i get the following error:

# service named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:87: unknown option 'e'
/etc/named.conf:120: unexpected end of input
[FAILED]
my named.conf as follows:

include "/etc/rndc.key";

controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};

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;

// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
/* memstatistics-file "data/named_mem_stats.txt"; */
};

logging {
/* If you want to enable debugging, eg. using the 'rndc trace' command,
* named will try to write the 'named.run' file in the $directory (/var/named).
* By default, SELinux policy does not allow named to modify the /var/named directory,
* so put the default debug log file in data/ :
*/
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

// All BIND 9 zones are in a "view", which allow different zones to be served
// to different types of client addresses, and for options to be set for groups
// of zones.
//
// By default, if named.conf contains no "view" clauses, all zones are in the
// "default" view, which matches all clients.
//
// If named.conf contains any "view" clause, then all zones MUST be in a view;
// so it is recommended to start off using views to avoid having to restructure
// your configuration files in the future.

view "localhost_resolver" {
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
*/
match-clients { 127.0.0.0/24; };
match-destinations { localhost; };
recursion yes;

zone "." IN {
type hint;
file "/var/named/named.ca";
};

// include "/var/named/named.rfc1912.zones";
// you should not serve your rfc1912 names to non-localhost clients.

// These are your "authoritativ
zone "smpl.splinteredmedia.net" {
type master;
file "/var/named/smpl.splinteredmedia.net.db";
};

e" internal zones, and would probably
// also be included in the "localhost_resolver" view above :
};

view "external" {
/* This view will contain zones you want to serve only to "external" clients
* that have addresses that are not on your directly attached LAN interface subnets:
*/

recursion no;
// you'd probably want to deny recursion to external clients, so you don't
// end up providing free DNS service to all takers

// all views must contain the root hints zone:
zone "." IN {
type hint;
file "/var/named/named.ca";
};

// These are your "authoritative" external zones, and would probably
// contain entries for just your web and mail servers:

// BEGIN external zone entries

};

z
zone "smpl.splinteredmedia.net" {
type master;
file "/var/named/smpl.splinteredmedia.net.db";
};

I have cPanel installed on a CentOS 5.1 VPS

View 11 Replies View Related

None:0: Open: /etc/named.conf: File Not Found

Dec 5, 2008

none:0: open: /etc/named.conf: file not found

i had install cpanel on Cent Os 5 on a VPS
Cpanel Correctly Running but named does not working !
i try to restart named but it say :
root@server [/etc]# service named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
none:0: open: /etc/named.conf: file not found
[FAILED]

View 5 Replies View Related

Check /etc/named.conf For Recursion Restrictions

Jun 23, 2007

I'm getting this warning from check server security option in csf :
--------
You have a local DNS server running but do not have any recursion restrictions set in /etc/named.conf. This is a security and performance risk and you should look at restricting recursive lookups to the local IP addresses only
--------
I saw named.conf but In fact I didn't understand what should I do
Can somebody tells me what should i do and what this warning trying to tell me?

View 2 Replies View Related

Named.conf :: When Using 'view' Statements, All Zones Must Be In Views

Dec 19, 2008

After Cpanel update latest release version. I have issue with named.conf.
I tried to rebuild named. but..

/scripts/rebuilddnsconfig
fixrndc requires a syntactically correct /etc/named.conf.
No changes were made to /etc/named.conf.

Problem was:

/etc/named.conf:23: when using 'view' statements, all zones must be in views
Anyone can explain me about "/etc/named.conf:23: when using 'view' statements, all zones must be in views"?

View 11 Replies View Related

How To Revert Back From Named-wrapper -u Named To /usr/sbin/named -u Named

Oct 26, 2009

After upcp suddently named failed and only works when I use /scripts/ulimitnamed

But now the server feel so slow because of became named-wrapper -u

How to revert back from named-wrapper -u named to /usr/sbin/named -u named?

View 0 Replies View Related

Weird Named Errors Available9 Named[7562]: Lame Server Resolving

Nov 25, 2008

I see some errors about lame servers in messages log,and i noticed that look like adress of isp surfer domain beacuse i noticed domain of my isp listed also as lame name server.Here is example:

Nov 24 03:46:55 available9 named[7562]: lame server resolving '247.100.51.72.in-addr.arpa' (in '100.51.72.in-addr.arpa'?): 205.214.192.202#53
Nov 24 03:46:55 available9 named[7562]: lame server resolving '247.100.51.72.in-addr.arpa' (in '100.51.72.in-addr.arpa'?): 205.214.192.201#53
Nov 24 03:46:56 available9 named[7562]: lame server resolving '247.100.51.72.in-addr.arpa' (in '100.51.72.in-addr.arpa'?): 205.214.192.202#53
Nov 24 03:46:56 available9 named[7562]: lame server resolving '247.100.51.72.in-addr.arpa' (in '100.51.72.in-addr.arpa'?): 205.214.192.201#53
Nov 24 07:19:51 available9 named[7562]: FORMERR resolving 'ducksimilar.com/NS/IN': 203.93.208.87#53
Nov 24 07:19:51 available9 named[7562]: FORMERR resolving 'ducksimilar.com/NS/IN': 91.208.228.150#53
Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host1.experienceexcept.com/AAAA/IN': 203.93.208.87#53
Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host2.experienceexcept.com/AAAA/IN': 203.93.208.87#53
Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host1.experienceexcept.com/AAAA/IN': 91.208.228.150#53
Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host2.experienceexcept.com/AAAA/IN': 91.208.228.150#53
Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host1.experienceexcept.com/AAAA/IN': 203.93.208.87#53
Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host2.experienceexcept.com/AAAA/IN': 203.93.208.87#53
Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host1.experienceexcept.com/AAAA/IN': 91.208.228.150#53
Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host2.experienceexcept.com/AAAA/IN': 91.208.228.150#53

View 1 Replies View Related

Customized BFD

Jul 17, 2007

I had just successfully installed APF and BFD based on manual I read on
[url]

At the last article it mentioned:

10. Customize your applicatoins brute force configuration
Check out the rules directory in your /usr/local/bfd

Here you'll find all kinds of pre-made rules for popular services such as Apache, and ProFTPD w00t!

If you have any clue about shell scripting you can customize them or create new rules for enhanced brute force detection and prevent attacks.

View 0 Replies View Related

HAProxy Customized Stats URI?

May 12, 2009

Recently started using HAProxy for load balancing / failover, and have the usage down. But, no matter how much I search I can't find one simple thing...

Anyone know of a way to customize the status page?

Seems to be a directive actually in the binary...I can't find a conf, include, anything to pass any customization to it. I'm talking about the /haproxy?stats URI.

View 0 Replies View Related

Customized Hosting For My Blog

Jun 10, 2009

Currently I am hosted with Aquarius Storage, who are a fantastic company and I will be posting a review of them soon, but however that is not my point. Due to the recent tragedy of the HyperVM creator committing suicide, I will have to pay more because AQ is switching to Virtuozzo. Because I simply run a somewhat large, growing blog, paying 36$ per month is kind of outrageous.

To make things short, I need a good host, that was superb uptime, and is optimized for a WordPress blog that gets around ~5k uniques, ~30k pagehits, ~100k spider hits per month. (all figures are growing, of course), and for the site to be optimized to be speedy fast.

View 6 Replies View Related

Named, CPanel, And CentOS

May 22, 2009

Has anyone noticed recently on a fresh cPanel install that named doesn't start by itself on a reboot? I have had to chkconfig named on on every cPanel install I've done on a CentOS box in the last 2 months.

View 10 Replies View Related

Cpanel Dns - Named Failed

Jul 29, 2008

i have setup the cpanel on my new server..

but Bind [named] server is showing up failed

on monitoring page i am seeing

"named (9.3.4-P1)failed"

is it because of i have registered name server recently?

View 10 Replies View Related

Cpanel: Bind/named

Feb 14, 2007

I try to set up my VPS.

I couldn't set up any domain because I always got the error "Sorry, a DNS entry for domain.com already exists, please delete it first (from all servers in the dns cluster)".

Then I realized that it's because there was no named.conf. So I tried to make a named.conf myself (I took a named.conf from another server and changed it a bit)... at least I could add DNS Zones and domains now. But it still wasn't working very well.

Is there a way to build named.conf by fedora or cpanel?

View 9 Replies View Related

Customized Virtual Private Server (VPS)

Jul 27, 2007

I am completely new to VPS. Currently I have a website on shared hosting, but I'm starting getting problems with it: more precisely CPU exceeded and "slow MySql queries" problems - though MySql code is top notch. Traffic is about 100 G a month, and users' number growing day by day.

It seems I do need a VPS now. But since I am all new, I need to ask if a VPS account provides:

- MySql databases
- Cron jobs
- etc.

Basically, this question translates into this: does a VPS account offer everything else a shared hosting offers, and in addition guaranteed ram?

PS: I do need a CPU guarantee (don't know the exact name) meaning that if my processes get close to RAM limit, all processes are automatically diminished so that the site is still running... very slowly but running... (rather than killing the site)PS: I tried to find the VPS offers link as I am trying to get to see the current VPS offers of several companies, but can't find it. Do you mind giving the link?

Thank you, and sorry for the mess... I know I might be a pain in the a**, but I've got to ask in order to learn... You guys had a starting point as well, right?

View 14 Replies View Related

How To Re-install Named On CPanel Server

Dec 18, 2007

I have server on CPanel, and Named failed yesterday. Some named files damage, and BIND not work. re-install this service.

View 6 Replies View Related

Is There A VPS Hosting Provider Allowing Customized Xen Image Upload

Sep 2, 2007

I am a application/systems developer looking for a VPS hosting provider that would allow me upload a customized xen image that I could use as a template for additional VPSs.

Does anyone know of a hosting provider that could do this type of thing?

View 1 Replies View Related

VPS Server - CPanel, Httpd And Named Services Keeps Stopping

Nov 7, 2007

We have a VPS Server from one of the most reputable VPS Provider. We have 384 Guaranteed RAM and 1GB Burst. We have Dual Core AMD Opteron(tm) Processor 265 - 1795.503 MHz with 1024 KB cached allocated to our VPS.

It is only hosting 2 average forums (10-15 concurrent users in total) and 30 small websites, low traffic websites.

The problem we are having is, almost 3 times a week, the cPanel, named and apache services keeps stopping. I am monitoring our server when this is happen and prior to the event its only using about 300MB RAM and low CPU..

What could be causing this problem? Do I need to upgrade our RAM?

View 2 Replies View Related

CPanel: Change Exim.conf

Aug 6, 2007

change some variables in exim.conf so that they will not be modified next time cPanel will update exim.

Basically I need to modify this:

smtp_banner and rfc1413_query_timeout.

View 4 Replies View Related

Plesk 12.x / Linux :: Pre-installed And Customized Wordpress Installations With Themes And Plugins?

Mar 10, 2015

how to setup pre-installed wordpress themes and plugins so that customers can have them as soon as they auto-install wordpress? I am sure the files are stored somewhere, but can't find it.

Also, any way to disable the auto-install wordpress link from domain.com/wordpress to just domain.com? Some in-experienced customers will have a hard time since they wouldn't understand that selecting custom is the way to go.

View 2 Replies View Related

Exim.conf Missing (cpanel Server)

Jan 7, 2007

Broadcast message from root (Sat Jan 6 15:52:08 2007):

cPanel Layer 2 Update Commencing

Broadcast message from root (Sat Jan 6 16:01:09 2007):

cPanel Layer 2 Install Complete

I got this message while leaving my computer on over the weekend. And suddenly find that my mail server aint' working. So i tried to restart exim

root@kuching [~]# service exim restart
Shutting down exim: [FAILED]
Shutting down antirelayd: [ OK ]
Shutting down spamd: [ OK ]
Starting exim: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
[FAILED]
Starting exim-smtps: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
[FAILED]
Starting antirelayd: [ OK ]
Starting spamd: [ OK ]

I tried to reinstall exim by # /scripts/exim4 --force

It doesn't work again, so I tried to update again # /scripts/upcp --force

View 13 Replies View Related

While Add Subdomain/domain(while Cpanel Edit The Httpd.conf)

Jul 22, 2007

When cpanel edit the httpd.conf(to add subdomain/domain/etc) made a wrong.
In the lines
BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com-bytes_log
CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com combined

it breaks them as follows
--
BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com
-bytes_log
CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com
combined

And httpd cannot start and failed.

View 5 Replies View Related

"no Longer Listening On" "named" /cpanel

Jul 5, 2008

i install cpanel on my server

i have problem with dns ( ping)

i restart named and take this message: ....

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved