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.

reverse dns setup in fedora 5 and whm?

Discussion in 'Bind / DNS / Nameserver Issues' started by drsprite, Jul 14, 2006.

  1. drsprite

    drsprite Active Member

    Joined:
    Aug 5, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    I'm trying to add reverse DNS. I'm using the same config I had on RedHat 9. I changed OS to Fedora 5 today, and I can't add reverse zones using WHM.

    So I'm trying to do it manually and I get stuck.


    I added the following:

    /etc/named.conf:

    zone "123.124.125.in-addr.arpa" IN {
    type master;
    file "/var/named/123.124.125.arpa.db";
    };


    I added the file /var/named/123.124.125.arpa.db and in that file I have:

    $ORIGIN 123.124.125.in-addr.arpa.
    $TTL 900

    @ SOA ns1 hostmaster.whatever.com. (
    2005090706 ; Serial, Todays Date + Todays Serial #
    3h ; Refresh
    1h ; Retry
    1w ; Expire
    1h ) ; Cache

    NS ns1.whatever.com.
    NS ns2.whatever.com.

    204 PTR whatever.com.
    205 PTR ns1.whatever.com.
    206 PTR ns2.whatever.com.


    When I do a service named restart I get the following:

    zone 123.124.125.in-addr.arpa/IN: loading master file /var/named/123.124.125.arpa.db: file not found
    _default/123.124.125.in-addr.arpa/IN: file not found
    [FAILED]



    What am I missing? Probably the obvious.

    The file DOES exist... yet it says it can't find it.

    I DO have rDNS auth with my data center.

    Thanks for any help...
     
    #1 drsprite, Jul 14, 2006
    Last edited: Jul 14, 2006
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Is your named running in a chroot jail? If so, then you'd need to put the zone file in /var/named/chroot/var/named/
     
Loading...

Share This Page