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.

Sample of named.conf file needed!

Discussion in 'General Discussion' started by surfturtle, Apr 30, 2002.

  1. surfturtle

    surfturtle Member

    Joined:
    Jan 7, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Can anyone please post there name.conf file here so that I can create my own one. There is no need to post the zones section.
     
  2. kwimberl

    kwimberl Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    -----------start here----------------------
    options {
    directory &/var/named&;
    };
    zone &.& {
    type hint;
    file &named.ca&;
    };

    zone &0.0.127.in-addr.arpa&{
    type master;
    file &named.local&;
    };

    zone &xxx.com& {
    type master;
    file &/var/named/xxx.com.db&;
    };

    zone &yyy.com& {
    type master;
    file &/var/named/yyy.com.db&;
    };
    --------------end here----------------------


    That should do the trick for you. I assuming you are talking about a master (or only) name server.

    /scripts/rebuildnamedconf may be helpful to you too. :)
     
  3. surfturtle

    surfturtle Member

    Joined:
    Jan 7, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Thank you. Could you please also post the named.local file here i I don't seem to have that one either.
     
  4. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    DOH
     
Loading...

Share This Page