Nameserver in subdomain

Discussion in 'Installation/Configuration' started by teves, Nov 23, 2006.

  1. teves

    teves Member


    Let me first tell you what I have done already:
    I hired a root server at Then I installed it following Falkos perfect setup for Suse 10.1 and also put Ispconfig on it.
    Then I registered the Domain and with that I registered my own nameserver,
    And thats where the trouble begins.

    schribble-host can be reached, and you see the ispconfig dummy page.
    But the ns1 doesn't seem to be working.
    A dig @ (with 213.239... being Hetzners first nameserver, my secondary) gives me:

    ; <<>> DiG 9.3.2 <<>> @
    ; (1 server found)
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 39428
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ; IN A

    ;; AUTHORITY SECTION: 10800 IN SOA 2006112101 14400 1800 604800 86400

    I am pretty shure that my bind configuration is bad (or worse). But I have spent three days now (and nights!) with reading and configuring my zone files, I just can't seem to get it working. I think know the needed records, but I am not sure, because I could not find configuration examples for this setup.

    The next question is: what do the 'create DNS(-MX)' checkboxes in ispconfig do exactly? I originally thought that, with my own dns server running, these checkboxes would do everything needed to make new sites reachable (after I have registered them via hetzner) Now I'm not sure. Thing is, I can't find facts like that in the ispconfig manual. It mainly gives information about operating ispconfig, but the technical details are missing. Or is there another manual I have not found yet?
    E.g. how will email adresses be configured, when I define them for www.somedomain.tld., [email protected] I suppose?. But when I activate the 'create DNS-MX' in ispconfig, I get the record
    www MX 10
    What am I missing?

    Thank you,
    regards, Tom
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) You have set the ns1 and ns2 of the domain to and This wont work because the nameservers of a domain can never be subdomains of the same domain. Thats the hen <=> egg problem. How to lookup a domain when you cant lookup the nemeservers of that domain.

    2) The create MX checkboxes are creating MX records for the domain. www MX 10 is the MX record for, you need also a MX record for You can create this MX either by checking the create MX checkbox in the settings of the co-domain (the one with the empty host field) or you add the MX directly in the DNS-Manager.
  3. teves

    teves Member


    thank you for your reply.
    I have set as first and (hetzner nameserver) as second nameserver. Nameserver in subdomain doesn't work? You sure? I read this: (german)
    and was pretty sure it works.

    What is bind for in the perfect setup / Ispconfig installation if i can't use it on the server it is running on?

    I know that, but create dns-mx makes this eintry (www mx 10 scribble-host...) for all webs I create. In the zonefile for somedomain.tld you'd find the same entry as in the one for

    regards, Tom
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not related to the server. You can use Bind, thats why it is installed!

    An example:

    If I tell you that you shall give me a address book, you ask me where the address book is and I tell you that it is written in the address book. You will never ba able to find the address book because the nescessary information is only stored inside thsi missing address book. Its the same with the domain here.

    The solution is to use another domain that points to your server IP as ns1 for E.g. a technical domain from hetzner, I'am not sure if hetzner assigns technical domains automatically, at 1&1 these technical domains lokks like

    2) Thats absolutely correct, because you set as the domain of the server under management > server > settings.
  5. teves

    teves Member

    I don't think we are talking about the same thing? :)
    Of course I can't put up a nameserver that points to it's own host. But I did not do so obviously, otherwise would not be reachable. I put ns1.scribble... as first and the (a hetzner dns server) as second nameserver when i registered the domain scribble-host. I did so, because people told me to do so when I told them what I wished to do.

    So what would I do instead correctly? Re-register scribble-host with two hetzner nameservers and then configure my scribble-host zonefile to supply a subdomain containing the nameserver?
    I wish to use the nameserver for the webs I host on the server.

    Sorry, but this doesn't help me. I do wish to use it, but what for if I can't use it for this very server? :confused:

    If it is not intended, that ispconfig configures the zonefiles for hosted webs automatically and does anything needed beyond the registration, I just don't get the point of it.
    Call me stupid, but I will stay so if noone tells me. :(
    If I can't use it that way I would never wish to build my own nameserver, because it's obviously way too complicated for me... ;)

    regards, Tom
  6. teves

    teves Member



    Please accept my excuses for being ignorant. Shame on me. :(
    I just had a bad, bad day I suppose.
    You are so right, of course.

    Solved the problem now by taking external nameservers and deactivating bind.

    Thank you
    regards, Tom
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    accepted :)

    You dont have to deactivate bind completely, as you may use it for other domains. E.g. if you have 100 domains, you may use your own bind for 99 domains except of the first one.

Share This Page