InSaneCliff

Member
Oct 21, 2006
9
0
151
i've tried everything on this and what the search engines give me and none of them work this is what bind through out after failing named

Code:
Waiting for named to restart.... . . . . . . . . . . finished.

named status

named has failed, please contact the sysadmin (result was "named is not running"). Jul 1 02:45:12 cannels named: zone localdomain/IN: loaded serial 42 Jul 1 02:45:12 cannels named: zone localhost/IN: loaded serial 42 Jul 1 02:45:12 cannels named: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 Jul 1 02:45:12 cannels named: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700 Jul 1 02:45:12 cannels named: zone 255.in-addr.arpa/IN: loaded serial 42 Jul 1 02:45:12 cannels named: zone 0.in-addr.arpa/IN: loaded serial 42 Jul 1 02:45:12 cannels named: zone projectws.org/IN: loaded serial 2007060600 Jul 1 02:45:12 cannels named: zone exws.com/IN: loaded serial 2007062901 Jul 1 02:45:12 cannels named: zone purepk.net/IN: loaded serial 2007062901 Jul 1 02:45:12 cannels named: zone filetrans.com/IN: loaded serial 2007062901 Jul 1 02:45:12 cannels named: zone insane-files.net/IN: loaded serial 2007012000 Jul 1 02:45:12 cannels named: zone insane.host4cheap.org/IN: loaded serial 2007012000 Jul 1 02:45:12 cannels named: zone reggie2.no-ip.info/IN: loaded serial 2007062901 Jul 1 02:45:12 cannels named: zone insane-host.net/IN: loaded serial 2007050103 Jul 1 02:45:12 cannels named: zone insane-scripts.net/IN: loaded serial 2007012000 Jul 1 02:45:12 cannels named: zone insane-network.net/IN: loaded serial 2007063004 Jul 1 02:45:12 cannels named: zone shareme.org/IN: loaded serial 2007062901 Jul 1 02:45:12 cannels named: zone richbunk.info/IN: loaded serial 2007012000 Jul 1 02:45:12 cannels named: zone craaze.com/IN: loaded serial 2007012000 Jul 1 02:45:12 cannels named: zone tempancient.no-ip.org/IN: loaded serial 2007042300 Jul 1 02:45:12 cannels named: zone coalitionofpowers.com/IN: loaded serial 2007062903 Jul 1 02:45:12 cannels named: zone insane-gs.net/IN: loaded serial 2007062902 Jul 1 02:45:12 cannels named: zone sgwguilds.net/IN: loaded serial 2007061100 Jul 1 02:45:12 cannels named: zone stargateworldswiki.com/IN: loaded serial 2007061100 Jul 1 02:45:12 cannels named: zone tokrahc.sgwguilds.net/IN: has 0 SOA records Jul 1 02:45:12 cannels named: zone tokrahc.sgwguilds.net/IN: has no NS records Jul 1 02:45:12 cannels named: external/tokrahc.sgwguilds.net/IN: bad zone Jul 1 02:45:12 cannels named: zone falcon.insane-gs.net/IN: has 0 SOA records Jul 1 02:45:12 cannels named: zone falcon.insane-gs.net/IN: has no NS records Jul 1 02:45:12 cannels named: external/falcon.insane-gs.net/IN: bad zone Jul 1 02:45:12 cannels named: zone ogame.alteranancients.com/IN: has 0 SOA records Jul 1 02:45:12 cannels named: zone ogame.alteranancients.com/IN: has no NS records Jul 1 02:45:12 cannels named: external/ogame.alteranancients.com/IN: bad zone Jul 1 02:45:12 cannels named: zone alteranancients.com/IN: has no NS records Jul 1 02:45:12 cannels named: external/alteranancients.com/IN: bad zone Jul 1 02:45:12 cannels named: zone ewares.org/IN: has no NS records Jul 1 02:45:12 cannels named: external/ewaxx.org/IN: bad zone Jul 1 02:45:12 cannels named: zone billing.insane-gs.net/IN: has 0 SOA records Jul 1 02:45:12 cannels named: zone billing.insane-gs.net/IN: has no NS records Jul 1 02:45:12 cannels named: external/billing.insane-gs.net/IN: bad zone Jul 1 02:45:12 cannels named: zone cfgame.no-ip.org/IN: has 0 SOA records Jul 1 02:45:12 cannels named: zone cfgame.no-ip.org/IN: has no NS records Jul 1 02:45:12 cannels named: external/cfgame.no-ip.org/IN: bad zone Jul 1 02:45:12 cannels named: zone cf-gaming.org/IN: has 0 SOA records Jul 1 02:45:12 cannels named: zone cf-gaming.org/IN: has no NS records Jul 1 02:45:12 cannels named: external/cf-gaming.org/IN: bad zone Jul 1 02:45:12 cannels named: zone us.cf-gaming.org/IN: has 0 SOA records Jul 1 02:45:12 cannels named: zone us.cf-gaming.org/IN: has no NS records Jul 1 02:45:12 cannels named: external/us.cf-gaming.org/IN: bad zone Jul 1 02:45:12 cannels named: zone euro.cf-gaming.org/IN: has 0 SOA records Jul 1 02:45:12 cannels named: zone euro.cf-gaming.org/IN: has no NS records Jul 1 02:45:12 cannels named: external/euro.cf-gaming.org/IN: bad zone
Thanks But i'm loosing money as you read this please help me
 

InSaneCliff

Member
Oct 21, 2006
9
0
151
here

Here's My Named Config File


Code:
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         { localhost; };
    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 "internal"
{
/* This view will contain zones you want to serve only to "internal" clients
   that connect via your directly attached LAN interfaces - "localnets" .
 */
    match-clients        { localnets; };
    match-destinations    { localnets; };
    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 "authoritative" 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:
 */
    match-clients        { !localnets; !localhost; };
    match-destinations    { !localnets; !localhost; };

    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
	
	zone "projects.org" {
		type master;
		file "/var/named/projects.org.db";
	};
	
	zone "warxxxx.com" {
		type master;
		file "/var/named/waxxxx.com.db";
	};
	
	zone "purepk.net" {
		type master;
		file "/var/named/purepk.net.db";
	};
	
	zone "filetrans.com" {
		type master;
		file "/var/named/filetrans.com.db";
	};
	
	zone "insane-files.net" {
		type master;
		file "/var/named/insane-files.net.db";
	};
	
	zone "insane.host4cheap.org" {
		type master;
		file "/var/named/insane.host4cheap.org.db";
	};
	
	zone "reggie2.no-ip.info" {
		type master;
		file "/var/named/reggie2.no-ip.info.db";
	};
	
	zone "insane-host.net" {
		type master;
		file "/var/named/insane-host.net.db";
	};
	
	zone "insane-scripts.net" {
		type master;
		file "/var/named/insane-scripts.net.db";
	};
	
	zone "insane-network.net" {
		type master;
		file "/var/named/insane-network.net.db";
	};
	
	zone "shareme.org" {
		type master;
		file "/var/named/shareme.org.db";
	};
	
	zone "richbunk.info" {
		type master;
		file "/var/named/richbunk.info.db";
	};
	
	zone "craaze.com" {
		type master;
		file "/var/named/craaze.com.db";
	};
	
	zone "tempancient.no-ip.org" {
		type master;
		file "/var/named/tempancient.no-ip.org.db";
	};
	
	zone "coalitionofpowers.com" {
		type master;
		file "/var/named/coalitionofpowers.com.db";
	};
	
	zone "insane-gs.net" {
		type master;
		file "/var/named/insane-gs.net.db";
	};
	
	zone "sgwguilds.net" {
		type master;
		file "/var/named/sgwguilds.net.db";
	};
	
	zone "stargateworldswiki.com" {
		type master;
		file "/var/named/stargateworldswiki.com.db";
	};
	
	zone "tokrahc.sgwguilds.net" {
		type master;
		file "/var/named/tokrahc.sgwguilds.net.db";
	};
	
	zone "falcon.insane-gs.net" {
		type master;
		file "/var/named/falcon.insane-gs.net.db";
	};
	
	zone "ogame.alteranancients.com" {
		type master;
		file "/var/named/ogame.alteranancients.com.db";
	};
	
	zone "alteranancients.com" {
		type master;
		file "/var/named/alteranancients.com.db";
	};
	
	zone "ewxxx.org" {
		type master;
		file "/var/named/ewxxx.org.db";
	};
	
	zone "billing.insane-gs.net" {
		type master;
		file "/var/named/billing.insane-gs.net.db";
	};
	
	zone "cfgame.no-ip.org" {
		type master;
		file "/var/named/cfgame.no-ip.org.db";
	};
	
	zone "cf-gaming.org" {
		type master;
		file "/var/named/cf-gaming.org.db";
	};
	
	zone "us.cf-gaming.org" {
		type master;
		file "/var/named/us.cf-gaming.org.db";
	};
	
	zone "euro.cf-gaming.org" {
		type master;
		file "/var/named/euro.cf-gaming.org.db";
	};
};
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
Fairly unwise posting your entire named.conf file in a public place!

Now with that said ...

I would run "/etc/rc.d/init.d/named restart" and then go immediately
view the "/var/log/messages" file and it should show you a detailed
list of the shutdown and restart of your DNS server at the end of
that file.

If you have any problems with any of your zone files, it will tell you
that it cannot load the zone file for that particular domain.

Once you have identified exactly which domain is causing you trouble,
you can go open the zone file for it at "/var/named/(domain).db" where
"(domain)" would be replaced by the domain name you want to open.

Somewhere in that file, you should find your mistake ...

Common mistakes are forgetting to terminate fully qualified hostnames
with a period or adding periods where there should not be any. Another
common mistake is forgetting closing quotes in TXT entries such as
used for SPF records, etc.

By the looks of your original post, I'd take a look at "euro.cf-gaming.org"
and start with that zone file first because it looks like that is where your
problem is occurring based on what you have already posted above.
 
Last edited:

InSaneCliff

Member
Oct 21, 2006
9
0
151
no

Ok here's the problem when i deleted cf-gaming.org . It through up that all domains are now bad with no ns recordbut these are transfered accounts that weren't messed with.
Anyone got any other suggestion >
 

myrddin

Registered
Jan 26, 2007
1
0
151
Addon to InsaneCliff
That code isnt all the errors

This is all the errors we are getting
Code:
Jul  1 15:38:32 cannels named: zone localdomain/IN: loading master file localdomain.zone: file not found
Jul  1 15:38:32 cannels named: localhost_resolver/localdomain/IN: file not found
Jul  1 15:38:32 cannels named: zone localhost/IN: loading master file localhost.zone: file not found
Jul  1 15:38:32 cannels named: localhost_resolver/localhost/IN: file not found
Jul  1 15:38:32 cannels named: zone 0.0.127.in-addr.arpa/IN: loading master file named.local: file not found
Jul  1 15:38:32 cannels named: localhost_resolver/0.0.127.in-addr.arpa/IN: file not found
Jul  1 15:38:32 cannels named: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loading master file named.ip6.local: file not found
Jul  1 15:38:32 cannels named: localhost_resolver/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: file not found
Jul  1 15:38:32 cannels named: zone 255.in-addr.arpa/IN: loading master file named.broadcast: file not found
Jul  1 15:38:32 cannels named: localhost_resolver/255.in-addr.arpa/IN: file not found
Jul  1 15:38:32 cannels named: zone 0.in-addr.arpa/IN: loading master file named.zero: file not found
Jul  1 15:38:32 cannels named: localhost_resolver/0.in-addr.arpa/IN: file not found
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
It looks like you have several problems between dns records and named and rdns. You should contact your data center for assistance or consider hiring an admin to go through your box since you need this fixed immediately.
 

InSaneCliff

Member
Oct 21, 2006
9
0
151
does anyone else got an idea cause i've tried everything from uninstalling and re installing bind and so forth.
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
does anyone else got an idea cause i've tried everything from uninstalling and re installing bind and so forth.
Oh I can fix it easy enough but I would probably have to take a look at it first hand
to see exactly what is actually going on with your DNS.
 

aboleth

Well-Known Member
Sep 8, 2005
50
0
156
InSaneCliff,

You will notice in the named.conf file that a file called "named.rfc1912.zones" is included. This file defines zones that are local zones, and should not generally be used. Default one should look something like this:


// named.rfc1912.zones:
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
//
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};

zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};

zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};




This files should be in /var/named/. It references several files that should also be in /var/named/... Here is a list below

named.broadcast
named.ca
named.ip6.local
named.local
named.rfc1912.zones
named.zero



These files are just like any other zone file, if bind is asking for them then you need to have them. For instance the error "named: localhost_resolver/255.in-addr.arpa/IN: file not found" is given because "named.local" wasn't accessible by bind (probably not there or wrong permissions). Basically, make sure you have all the zone files for the zones mentioned by "named.rfc1912.zones" and you should be all set. You can manually make them if needed - or I'd be happy to mail them to you if you PM me. I'm pretty sure this is your problem, and if it's not, Please let me know as well because i'd be curious.


Nick