Trouble Starting Named Service

Discussion in 'Installation/Configuration' started by booblla, Mar 19, 2014.

  1. booblla

    booblla New Member

    I am trying to setup Bind (Master & Slave) to act as name servers.

    I followed the guide but every time I try to start the named service I get the following error and I can't find a solution;

    I am running CentOS 6.5 64bit and from reading other posts this may also help;

    Can anyone tell me how to open port 953 to localhost?

    I tried
    but not 100% sure on what I'm doing because I'm a Newb and Googleing the error message didn't really help.
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi

    For opening the port you need to disable your selinux, it can be set from
    & its value need to be
    Further to add the port in firewall you can use
    Append rule as follows:
    After adding the port rule restart IPTABLES
    For checking the new rule use
    & in IPTABLES for port specific rule can be checked as
    Br//
    Srijan
     
  3. booblla

    booblla New Member

    Thanks for that.

    Now I have an issue with the slave.

    I followed this tutorial and I got as far as step 6. When I try and start the named service I get this error;

    Code:
    [[email protected] ~]# service named start
    Starting named:
    Error in named configuration:
    zone localhost/IN: loading from master file localhost.zone failed: file not found
    zone localhost/IN: not loaded due to errors.
    _default/localhost/IN: file not found
                                                               [FAILED]
    
    Now from what I can gather I'm missing a file called localhost.zone, but after searching for an answer, I'm still clueless as to what to put into this file and where it goes.

    There was another error regarding the RNDC Key, and I was told to remove the Control reference from the named.conf file, which leads me to another question.

    The original entry was;
    Code:
    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };
    Now should it be this or do I just remove the entry all together?

    Code:
    controls {
    inet 127.0.0.1 allow { localhost; };
    };
     

Share This Page