The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Name Server Problem

Discussion in 'General Discussion' started by don_will, Mar 22, 2008.

  1. don_will

    don_will Well-Known Member

    Joined:
    Jun 26, 2007
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Cpanel
    my DNS cannt resolve... and what i did is...

    Service Configuration >> Nameserver Setup

    Name Server Activated
    Ensuring caching-nameserver is installed
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Activating name server monitoring (chkservd)
    Setting up rndc configuration

    !! fixrndc requires a syntactically correct /etc/named.conf.
    !! No changes were made to /etc/named.conf. Problem was:
    !! /etc/named.conf:20: option 'memstatistics-file' is not implemented

    Restarting Nameserver
    Starting named: [ OK ]
    Restarting chkservd
    Stopping chkservd: [ OK ]
    Starting chkservd: [ OK ]

    and here my named.conf :

    Original :
    Code:
    include "/etc/rndc.key";
    
    controls {
    	inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
    };
    
    //
    // named.conf for Red Hat caching-nameserver 
    //
    
    options {
    	directory "/var/named";
    	dump-file "/var/named/data/cache_dump.db";
            statistics-file "/var/named/data/named_stats.txt";
    	/*
    	 * If there is a firewall between you and nameservers you want
    	 * to talk to, you might need to uncomment the query-source
    	 * directive below.  Previous versions of BIND always asked
    	 * questions using port 53, but BIND 8.1 uses an unprivileged
    	 * port by default.
    	 */
    	 // query-source address * port 53;
    };
    
    // 
    // a caching only nameserver config
    // 
    
    zone "." IN {
    	type hint;
    	file "/var/named/named.ca";
    };
    
    zone "localdomain" IN {
    	type master;
    	file "/var/named/localdomain.zone";
    	allow-update { none; };
    };
    
    zone "localhost" IN {
    	type master;
    	file "/var/named/localhost.zone";
    	allow-update { none; };
    };
    
    zone "0.0.127.in-addr.arpa" IN {
    	type master;
    	file "/var/named/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 "/var/named/named.ip6.local";
    	allow-update { none; };
    };
    
    zone "255.in-addr.arpa" IN {
    	type master;
    	file "/var/named/named.broadcast";
    	allow-update { none; };
    };
    
    zone "0.in-addr.arpa" IN {
    	type master;
    	file "/var/named/named.zero";
    	allow-update { none; };
    };
    
    
    
    
    
    
    
    
    
    
    
    
    zone "fartuah.net" {
    	type master;
    	file "/var/named/fartuah.net.db";
    };
    
    
    zone "chaltlangyma.org" {
    	type master;
    	file "/var/named/chaltlangyma.org.db";
    };
    
    
    
    
    zone "irc.mizofa.net" {
    	type master;
    	file "/var/named/irc.mizofa.net.db";
    };
    
    
    zone "mizofa.net" {
    	type master;
    	file "/var/named/mizofa.net.db";
    };
    
    
    zone "hostingwarez.net" {
    	type master;
    	file "/var/named/hostingwarez.net.db";
    };
    
    
    zone "zawlbukrealestate.com" {
    	type master;
    	file "/var/named/zawlbukrealestate.com.db";
    };
    
    
    zone "othersyde-inc.com" {
    	type master;
    	file "/var/named/othersyde-inc.com.db";
    };
    
    
    
    
    zone "mercury.hostingwarez.net" {
    	type master;
    	file "/var/named/mercury.hostingwarez.net.db";
    };
    
    
    zone "ns1.hostingwarez.net" {
    	type master;
    	file "/var/named/ns1.hostingwarez.net.db";
    };
    
    
    zone "ns2.hostingwarez.net" {
    	type master;
    	file "/var/named/ns2.hostingwarez.net.db";
    };
    
    
    zone "sphinx-clan.com" {
    	type master;
    	file "/var/named/sphinx-clan.com.db";
    };
    
    
    
    
    zone "astawarez.hostingwarez.net" {
    	type master;
    	file "/var/named/astawarez.hostingwarez.net.db";
    };
    
    
    zone "library.hostingwarez.net" {
    	type master;
    	file "/var/named/library.hostingwarez.net.db";
    };
    
    
    zone "thebestforum.net" {
    	type master;
    	file "/var/named/thebestforum.net.db";
    };
    
    
    zone "rapid-leecher.com" {
    	type master;
    	file "/var/named/rapid-leecher.com.db";
    };
    
    
    zone "invision.ir" {
    	type master;
    	file "/var/named/invision.ir.db";
    };
    
    
    zone "warezboard.net" {
    	type master;
    	file "/var/named/warezboard.net.db";
    };
    
    
    zone "tha-underground.co.uk" {
    	type master;
    	file "/var/named/tha-underground.co.uk.db";
    };
    
    
    
    
    
    
    zone "u2ns.hostingwarez.net" {
    	type master;
    	file "/var/named/u2ns.hostingwarez.net.db";
    };
    
    
    
    
    zone "extremewarez.org" {
    	type master;
    	file "/var/named/extremewarez.org.db";
    };
    
    
    zone "dimitar.hostingwarez.net" {
    	type master;
    	file "/var/named/dimitar.hostingwarez.net.db";
    };
    
    
    zone "arnav.hostingwarez.net" {
    	type master;
    	file "/var/named/arnav.hostingwarez.net.db";
    };
    
    
    
    
    zone "desixtreme.com" {
    	type master;
    	file "/var/named/desixtreme.com.db";
    };
    
    
    
    
    
    
    zone "cyber-pix.uni.cc" {
    	type master;
    	file "/var/named/cyber-pix.uni.cc.db";
    };
    
    
    zone "tsc.hostingwarez.net" {
    	type master;
    	file "/var/named/tsc.hostingwarez.net.db";
    };
    
    
    zone "pinoypirates.info" {
    	type master;
    	file "/var/named/pinoypirates.info.db";
    };
    
    
    
    
    zone "tscforums.uni.cc" {
    	type master;
    	file "/var/named/tscforums.uni.cc.db";
    };
    
    
    zone "warez-porn.net" {
    	type master;
    	file "/var/named/warez-porn.net.db";
    };
    
    
    zone "jotmeyl.com" {
    	type master;
    	file "/var/named/jotmeyl.com.db";
    };
    
    
    
    
    
    
    zone "clicksempire.ath.cx" {
    	type master;
    	file "/var/named/clicksempire.ath.cx.db";
    };
     
  2. don_will

    don_will Well-Known Member

    Joined:
    Jun 26, 2007
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Cpanel
    and here Modified named.conf as per http://forums.cpanel.net/showthread.php?t=69447&highlight=DNS+problem

    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;
    recursion no;
    
    // 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.
    
    /* 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:
    */
    // you'd probably want to deny recursion to external clients, so you don't
    // end up providing free DNS service to all takers
    // 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 "fartuah.net" {
    	type master;
    	file "/var/named/fartuah.net.db";
    };
    
    
    zone "chaltlangyma.org" {
    	type master;
    	file "/var/named/chaltlangyma.org.db";
    };
    
    
    
    
    zone "irc.mizofa.net" {
    	type master;
    	file "/var/named/irc.mizofa.net.db";
    };
    
    
    zone "mizofa.net" {
    	type master;
    	file "/var/named/mizofa.net.db";
    };
    
    
    zone "hostingwarez.net" {
    	type master;
    	file "/var/named/hostingwarez.net.db";
    };
    
    
    zone "zawlbukrealestate.com" {
    	type master;
    	file "/var/named/zawlbukrealestate.com.db";
    };
    
    
    zone "othersyde-inc.com" {
    	type master;
    	file "/var/named/othersyde-inc.com.db";
    };
    
    
    
    
    zone "mercury.hostingwarez.net" {
    	type master;
    	file "/var/named/mercury.hostingwarez.net.db";
    };
    
    
    zone "ns1.hostingwarez.net" {
    	type master;
    	file "/var/named/ns1.hostingwarez.net.db";
    };
    
    
    zone "ns2.hostingwarez.net" {
    	type master;
    	file "/var/named/ns2.hostingwarez.net.db";
    };
    
    
    zone "sphinx-clan.com" {
    	type master;
    	file "/var/named/sphinx-clan.com.db";
    };
    
    
    
    
    zone "astawarez.hostingwarez.net" {
    	type master;
    	file "/var/named/astawarez.hostingwarez.net.db";
    };
    
    
    zone "library.hostingwarez.net" {
    	type master;
    	file "/var/named/library.hostingwarez.net.db";
    };
    
    
    zone "thebestforum.net" {
    	type master;
    	file "/var/named/thebestforum.net.db";
    };
    
    
    zone "rapid-leecher.com" {
    	type master;
    	file "/var/named/rapid-leecher.com.db";
    };
    
    
    zone "invision.ir" {
    	type master;
    	file "/var/named/invision.ir.db";
    };
    
    
    zone "warezboard.net" {
    	type master;
    	file "/var/named/warezboard.net.db";
    };
    
    
    zone "tha-underground.co.uk" {
    	type master;
    	file "/var/named/tha-underground.co.uk.db";
    };
    
    
    
    
    
    
    zone "u2ns.hostingwarez.net" {
    	type master;
    	file "/var/named/u2ns.hostingwarez.net.db";
    };
    
    
    
    
    zone "extremewarez.org" {
    	type master;
    	file "/var/named/extremewarez.org.db";
    };
    
    
    zone "dimitar.hostingwarez.net" {
    	type master;
    	file "/var/named/dimitar.hostingwarez.net.db";
    };
    
    
    zone "arnav.hostingwarez.net" {
    	type master;
    	file "/var/named/arnav.hostingwarez.net.db";
    };
    
    
    
    
    zone "desixtreme.com" {
    	type master;
    	file "/var/named/desixtreme.com.db";
    };
    
    
    
    
    
    
    zone "cyber-pix.uni.cc" {
    	type master;
    	file "/var/named/cyber-pix.uni.cc.db";
    };
    
    
    zone "tsc.hostingwarez.net" {
    	type master;
    	file "/var/named/tsc.hostingwarez.net.db";
    };
    
    
    zone "pinoypirates.info" {
    	type master;
    	file "/var/named/pinoypirates.info.db";
    };
    
    
    
    
    zone "tscforums.uni.cc" {
    	type master;
    	file "/var/named/tscforums.uni.cc.db";
    };
    
    
    zone "warez-porn.net" {
    	type master;
    	file "/var/named/warez-porn.net.db";
    };
    
    
    zone "jotmeyl.com" {
    	type master;
    	file "/var/named/jotmeyl.com.db";
    };
    
    
    
    
    
    
    zone "clicksempire.ath.cx" {
    	type master;
    	file "/var/named/clicksempire.ath.cx.db";
    };
     
  3. don_will

    don_will Well-Known Member

    Joined:
    Jun 26, 2007
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Cpanel
    anyone please.... i really need this
     
  4. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    I'm guessing that you are referring to external resolution of domains to your hosted sites...

    I checked on Men & Mice and several of your hosted sites point to different name servers... Each domain you host MUST have your name servers listed for their domain (this is the Start of Authority).

    Examples:

    mizofa.net points to:
    dns.parkpage.foundationapi.com
    dns2.parkpage.foundationapi.com

    desixtreme.com points to:
    ns1.pcmasterz.com
    ns2.pcmasterz.com
     
Loading...

Share This Page