My own name servers

Discussion in 'Server Operation' started by ColdDoT, May 2, 2006.

  1. ColdDoT

    ColdDoT Member

    i've have posted here a thread about it before but i can't find it :S
    So wat i reali like to have is my own name server without any other dns hosters or whaterver

    is there a way to do that?

    greets kevin
  2. falko

    falko Super Moderator ISPConfig Developer

  3. sjau

    sjau Local Meanie Moderator

    Yes there is, I have done it myself but I think there are better ways.

    What I first did was creating nameserver entries at my host for my domain.

    I use and they allow me for each domain to make nameserver entries.

    So I created and (both pointing to the same IP as I have only one server... I don't need redundance there because if the server is down, then an alternate nameserver won't help either ^^).

    After that I installed bind9 (apt-get install bind9) on debian and chrooted it. I think Falko has a tut on how to do that ( It took me quite a while until I accomplished that as I did not find any tut that worked for me.

    I just see that there are a few tuts here on but I haven't read them.
    Well, once you have setup your chrooted bind and created nameserver entries at your registrar then you only need to proper setup the domain name records.

    I mostly copy and pasted them from a little book that I bought. When I'm home I can give you the entries I used. I know, they are far from being perfect but hey, the work ^^

    Well, here's the DNS report for my domain:

    As you can see there are some red error messages, I don't really know what they mean but everything seems to work perfectly with my setup :)

    P.S.: Dammit, I was too slow typing all of this and Timme bet me by pasting two URLs ^^
  4. ColdDoT

    ColdDoT Member

    So there is no way i can skip the other domein regestration?
    To bad thx.
    (sjau i like your respons better and helpfuler:D)
    (Falko :p)

    sjau after you have maded the 2 nameserver entry's can you change it afterwards?
  5. ColdDoT

    ColdDoT Member

    The whole thing what i want is get rid of the 3 party things
    so that i don't have to use some ones other serverice.
    because i have now free nameservers and they go sometimes offline:s

  6. sjau

    sjau Local Meanie Moderator

    HOw do you to change the nameserver entries afterwards?
    What you need to do is at your domain registrar tell, that or or or is to be treated as a nameserver. I think they call that glue record but I'm no DNS pro ^^

    Then have bind installed (and chrooted) and then you need some config files...

    I'll post mine here (although they aren't probably the best ones out there ^^)

  7. sjau

    sjau Local Meanie Moderator
    Generally you can make your default zone what you normally like and point domains there from the file. Only if you want to use seperate settings for a domain you need to create a new zone.

    Well, that's my config. It works but I'm sure there are better solutions out there.
  8. falko

    falko Super Moderator ISPConfig Developer

  9. ColdDoT

    ColdDoT Member

    Thx you2 for the helpfull info.
    sjau you meen the company that i say that they must register the domain
  10. falko

    falko Super Moderator ISPConfig Developer

    Yes, that's right.

Share This Page