Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Exclamation Assigned Nameserver Ips

    Hello -

    I have a new server with cPanel 4.

    Am in setup process and hbave a question regarding the setup.

    First, under basic set there are two button links for each of the Name Server Sections. It is unclear if activating these buttons is required after entering in the required hostname of the primary and secondary nameservers.

    so here what is the purpose of these links? Do you need to manually activate each one for "Assign IP Address" and "Add an A entry"?

    withbouth doing so when I go to Network Setup and list nameserver IP's there are no entries listed after the tool completes processing which typically takes several seconds.

    If the nameservers have already been assigned through basic, this eems redundant or is this for something else ie setting up the new server as its own dns?

    Also, when I make changes to the setup I get these errors:

    Bind reloading on serverName using rndc zone:
    Error reloading bind on light: rndc: error: /etc/rndc.key:2: expected string near ';'
    rndc: could not load rndc configuration


    when I try running fixrndc I get:


    Error reloading bind on light: rndc: error: /etc/rndc.key:2: expected string near ';'
    rndc: could not load rndc configuration


    the first chunk of named.conf :

    Code:
    include "/etc/rndc.key";
    
    controls {
            inet 127.0.0.1 allow { localhost; } keys { ""; };
    };
    
    //
    // 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";
    rndc.key contains:

    Code:
    key "" {
            algorithm ;
            secret "";
    };
    thanks, any help is appreciated.
    Last edited by user1101; 07-12-2006 at 10:12 AM. Reason: updated to provide more details

  2. #2
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    556
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default same here

    same here on a new system...



    Feel like your Cloud Provider's just weathering the storm? Hop Off the Cloud - The Weathers nicer over here.

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Default Fixed; See notes

    I opened a ticket after all my hair was gone and the prompt reply from my datacenter is as follows:

    Code:
    Unfortunately, these BIND errors are commonplace on newly installed cPanel servers. It was corrected with the following commands:
    
    /usr/sbin/rndc-confgen -a
    /scripts/fixrndc -fv
    I hope this helps anyone having the same issues.

Similar Threads & Tags
Similar threads

  1. Assigned Nameserver Ips
    By saindra in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-25-2009, 03:24 PM
  2. one nameserver is shown twice with diff IP#s at WHM Assigned Nameserver Ips
    By innsites in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-18-2009, 02:27 PM
  3. Wrong IP assigned as Nameserver
    By ruber in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-05-2007, 01:24 PM
  4. Assigned Nameserver Ips
    By kahoz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-05-2004, 02:13 PM
  5. List Assigned Nameserver Ips ?
    By techark in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-06-2002, 07:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube