Results 1 to 5 of 5

Thread: BIND9 Serious help needed

  1. #1
    Join Date
    Mar 2013
    Beans
    3

    BIND9 Serious help needed

    So ive been attempting to solve this for 2 days now and finally have gotten to the point where im at that quitting stage - so here i am
    Basically ive been trying to set up a dns server on our OVH dedicated server (12.04 Precise Pangolin )
    Our domain is basement-gaming.net and ive been trying to set up nameservers for it so i can use them for our domain
    The problem is that i set up 2 nameservers called ns1.domain.com and ns2.domain.com
    but they just dont work when im attempting to add them in to the nameserver for our domain.

    So ive been going through the configs for all of our binds for the past 2 days looking through peoples posts and threads on BIND9 and how they set it up.
    and ive become utterly lost in whats going on.

    Heres my bind9 configs / resolvs

    named.conf.local
    Code:
    zone "basement-gaming.net" {        type master;
            file "/etc/bind/zones/basement-gaming.net.db";
            };
    
    
    zone "0.0.127.in-addr.arpa" {
         type master;
         file "/etc/bind/zones/rev.0.0.127.in-addr.arpa";
    };
    named.conf.options
    Code:
    options {    directory "/var/cache/bind";
    
    
        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
    
    
        // If your ISP provided one or more IP addresses for stable 
        // nameservers, you probably want to use them as forwarders.  
        // Uncomment the following block, and insert the addresses replacing 
        // the all-0's placeholder.
    
    
        forwarders {
              198.245.51.42;
        };
            
    
    
        //========================================================================
        // If BIND logs error messages about the root key being expired,
        // you will need to update your keys.  See https://www.isc.org/bind-keys
        //========================================================================
        dnssec-validation auto;
    
    
        auth-nxdomain no;
        listen-on-v6 { any; };
    };
    basement-gaming.net.db
    Code:
    $TTL 1d
    basement-gaming.net.      IN      SOA     ns1.basement-gaming.net. admin.basement-gaming.net. (
    
    
                                                            2006081401
                                                            28800
                                                            3600
                                                            604800
                                                            38400
     )
    
    
    basement-gaming.net.      IN      NS              ns1.basement-gaming.net.
    basement-gaming.net.      IN      NS              ns2.basement-gaming.net.
    basement-gaming.net.      IN      MX     10       mta.basement-gaming.net.
    www                    IN      A             127.0.0.1
    mta                    IN      A               127.0.0.4
    ns1                    IN      A             127.0.0.2
    ns2                    IN      A             127.0.0.3
    basement-gaming.net.      IN      A             198.245.51.42
    rev.0.0.127.in-addr.arpa
    Code:
    $TTL 604800
    @ IN SOA ns1.basement-gaming.net. admin.basement-gaming.net. (
                            2006081401;
                            28800; 
                            604800;
                            604800;
                            86400 
    )
    
    
                         IN    NS     ns1.basement-gaming.net.
                         IN    NS     ns2.basement-gaming.net
    1                    IN    PTR    basement-gaming.net
    resolv.conf
    Code:
    # Generated by NetworkManagersearch basement-gaming.net
    nameserver 127.0.0.1
    nameserver 198.245.51.42
    nameserver ns4001388.ip-198-245-51.net
    Please help me and try and figure out what ive done wrong, as ive literally hit the point where im ready to trash this and just call quits

    What im trying to do in summary is set up a dns server so that i can use nameservers for my domain which i bought

    heres some picutres from when i run the checks



    Last edited by CaptainThrills; March 17th, 2013 at 11:23 PM.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: BIND9 Serious help needed

    Are you absolutely sure you want to set up your own DNS server in the first place?

    Most of the time beginners who try and set up a DNS server don't actually need one.
    It's usually much easier to use the DNS servers of your domain registrar, as they usually have web interfaces for setting up new records.

    What exactly are you trying to achieve by running a DNS server yourself that can't be done with your registrars DNS servers?
    Cheesemill

  3. #3
    Join Date
    Mar 2013
    Beans
    3

    Re: BIND9 Serious help needed

    honestly not sure, basically heres a rundown of what ive been trying / failed to do

    1) got a domain from our registar
    2) looked up ovh's nameservers but idk how the heck im supposed to make them work
    3) added them in via the registar after some guessing - didnt work
    4) today i looked around and 45% of threads i saw said to make a dns server, im just really confused right now because ive never had this type of issue before (always been a simple process)
    5) i could continue trying to set one up unless recomended not to, as our files are already half way completely uploaded
    im just horribly confused on whether i should keep searching for the proper nameservers or make my own :/

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: BIND9 Serious help needed

    Who's your domain registrar?

    It should be as easy as going to the DNS settings on your registars website, and then adding an A record for basement-gaming.net that points to your servers IP address.
    You can also add A records for any subdomains you want to use (www.basement-gaming.net etc).

    No need to get involved with running your own DNS server (there's a good reason why there are entire books on configuring bind).
    Cheesemill

  5. #5
    Join Date
    Mar 2013
    Beans
    3

    Re: BIND9 Serious help needed

    registar is http://zfast.co.uk

    ok il let the dns thing go - i can see why there are books *chuckle*

Bookmarks

Posting Permissions

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