Results 1 to 3 of 3

Thread: BIND Nameserver Setup

  1. #1
    murphyslaw4267 is offline x10Hosting Member
    Join Date
    Jun 2009
    Posts
    3

    BIND Nameserver Setup

    Hi there,
    I'm trying to set up my server running CentOS 6.2 to be able to host domains. I have registered a domain with godaddy and registered the hosts for ns1.serverhobbyistdedicated.com and ns2.serverhobbyistdedicated.com
    I tried the tutorial on x10's website to set up BIND using webmin but it hasn't worked for me. I am asking for help on how to set up these name servers I registered on my server. I have become quite frustrated I've googled around and haven't had much luck. I would really, really appreciated any help that anyone can provide. Here are my files that I believe are relevant to this sort of thing, bear with me as I am a linux novice (I'm learning though).


    resolv.conf
    # Generated by NetworkManager
    search google.com
    nameserver 4.2.2.1
    nameserver 8.8.8.8




    named.conf
    //
    // Provided by Red Hat bind package to configure the ISC BIND named( DNS
    // server as a caching only nameserver (as a localhost DNS resolver only).
    //
    // See /usr/share/doc/bind*/sample/ for example named configuration files.
    //


    options {
    listen-on port 53 { 127.0.0.1; };
    listen-on-v6 port 53 { ::1; };
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    memstatistics-file "/var/named/data/named_mem_stats.txt";
    allow-query { localhost; };
    recursion yes;

    dnssec-enable yes;
    dnssec-validation yes;
    dnssec-lookaside auto;

    /* Path to ISC DLV key */
    bindkeys-file "/etc/named.iscdlv.key";
    };


    zone "serverhobbyistdedicated.com" in {
    type master;
    file "serverhobbyistdedicated.com";
    };

    logging {channel default_debug {
    file "data/named.run";
    severity dynamic;
    };
    };

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

    include "/etc/named.rfc1912.zones";

    This is a file a tutorial I found told me to create. It's in /var/named


    $TTL 14400
    @ 86400 IN SOA ns1.serverhobbyistdedicated.com. admin@serverho$
    2008021501 ; serial, todays date+todays
    86400 ; refresh, seconds
    7200 ; retry, seconds
    3600000 ; expire, seconds
    86400 ) ; minimum, seconds
    serverhobbyistdedicated.com 86400 IN NS ns1.serverhobbyistdedicated.com.
    serverhobbyistdedicated.com.com. 86400 IN NS ns2.serverhobbyistdedicated.com.
    ns1.serverhobbyistdedicated.com. IN A 108.61.17.178
    ns2.serverhobbyistdedicated.com. IN A 108.61.17.179
    website.com. IN A 108.61.17.179
    localhost.website.com. IN A 127.0.0.1
    website.com. IN MX 0 website.com.
    mail IN CNAME serverhobbyistdedicated.com.
    www IN CNAME serverhobbyistdedicated.com.
    ftp IN A 108.61.17.179



    Again I would really, really, appreciate anyone's insight.
    Thank you!
    Murphyslaw
    Last edited by murphyslaw4267; 06-21-2012 at 02:17 PM.

  2. #2
    murphyslaw4267 is offline x10Hosting Member
    Join Date
    Jun 2009
    Posts
    3

    Re: BIND Nameserver Setup

    I figured out what the issue was and corrected it. Thank you!

  3. #3
    Sharky's Avatar
    Sharky is offline The Biker
    Join Date
    Oct 2007
    Location
    The Agency
    Posts
    3,857
    What was the issue and how did you resolve it?

Similar Threads

  1. bind domain to ip
    By xobust57 in forum Free Hosting
    Replies: 2
    Last Post: 02-04-2011, 12:33 AM
  2. cPanel unable to access, the domain can not bind! !
    By shequ8 in forum Free Hosting
    Replies: 3
    Last Post: 07-25-2010, 04:20 AM
  3. Setting up basic LAMP with BIND DNS - CentOS 5.5
    By pornophobic in forum VPS Tutorials
    Replies: 1
    Last Post: 06-29-2010, 01:16 PM
  4. Setting up BIND on CentOS 5.5
    By pornophobic in forum VPS Tutorials
    Replies: 2
    Last Post: 06-29-2010, 01:15 PM
  5. Failed to start BIND : Unknown error
    By c740015 in forum VPS Talk
    Replies: 12
    Last Post: 06-09-2010, 08:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
dedicated servers