help with dns

Discussion in 'Installation/Configuration' started by seanheng, Aug 24, 2006.

  1. seanheng

    seanheng New Member

    hello falko and everyone else trying to help me understand

    ok i read the howto on traditional dns so what i get is i need to edit my named.conf
    and this is what i did from the default one of the installation
    //
    // a caching only nameserver config
    //
    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };

    zone "." IN {
    type hint;
    file "named.ca";
    };

    zone "localdomain" IN {
    type master;
    file "localdomain.zone";
    allow-update { none; };
    };
    zone "localhost" IN {
    type master;
    file "localhost.zone";
    allow-update { none; };
    };

    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "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" I$ type master;
    file "named.ip6.local";
    allow-update { none; };
    };

    zone "255.in-addr.arpa" IN {
    type master;
    file "named.broadcast";
    allow-update { none; };
    };

    zone "0.in-addr.arpa" IN {
    type master;
    file "named.zero";
    allow-update { none; };
    };
    // i added this after reading the howto on traditional dns
    zone "72.195.64.in-addr.arpa" IN {
    type master;
    file "seanhostip.zone";
    allow-update { none; };
    };

    zone "seanhostings.com" IN {
    type master;
    file "seanhost.zone";
    allow-update { none; };
    };

    include "/etc/rndc.key";


    then i created the seanhostip and seanhost zones
    seanhost.zone looks like this
    $TTL 86400
    @ IN SOA games.seanhostings.com. root.localhost (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum
    IN NS games.seanhostings.com
    seanhostings.com IN A 64.195.72.81
    www IN A 64.195.72.81
    games IN A 64.195.72.81

    seanhostip.zone looks like this
    $TTL 86400
    @ IN SOA games.seanhostings.com. root.localhost. (
    1997022700 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    IN NS games.seanhostings.com.
    81 IN PTR games.seanhostings.com.


    please help me if i am missing something or is going the wrong way

    thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page