DNS - I just don't understand how this works.

Discussion in 'Installation/Configuration' started by ricbax, Sep 10, 2005.

  1. ricbax

    ricbax New Member

    Can someone please explain to me how I can setup DNS on my ISPConfig server

    During the setup of ISPConfig I used an IP address instead of a domain.

    I have domains sitting at my registrar but they require a Name Server + an IP Address.

    Name servers at the moment are:

    NS1 is 216.XXX.XXX.21
    NS2 is 216.XXX.XXX.21 (usually this is different from the first?)

    Any step-by-step instructions or an URL would be great on how you step up name servers with respective IP. :eek:

    On a similar note I got the following message yesterday via email

    WARNING: service dns not running (server: myserver.domain.com, port: 53)! :eek:
  2. bolinux

    bolinux New Member

    i have the same problem! :confused:
  3. till

    till Super Moderator

    If you have ISPConfig installed, you have already a working nameserver.

    At your domain registry, enter the domain of your ISPConfig server as namesever and the external IP of your ISPConfig server as IP of your nameserver.

    Then go to the ISPConfig controlpanel and add the domains in the DNS-Manager.
  4. bolinux

    bolinux New Member


    when i trie to enter the domain (xyz.de) of my ispconfig server as namesever by my domain registrar (1und1.de) i get this message:

    Missing subdomain or subdomain is not ready.
    any idea?
  5. till

    till Super Moderator

    Enter the domain and subdomain of your server.
  6. bolinux

    bolinux New Member

    i already enter both, whit subdomain and whitout.

    here the way i do:

    i ngo to ispconfig dns manager, i make an a record like ns01.xyz.de, is this okay?
    and when i trie at it to my registrar 1und1.de then i still get the error message.

    maybe my dns server need a nother config?

    like this:

    Wichtiger Hinweis: Wenn Sie den 1&1 Nameserver als sekundären Nameserver eintragen möchten, ist es zwingend erforderlich, dass Ihr primärer Nameserver einen Zonentransfer (AXFR) für den folgenden Nameserver gestattet: slv2.1und1.de [IP =].

    and when i trie under tools / whois > google.de or any other domain i always get this message:

    Could not gather all necessary data. 
    Last edited: Sep 12, 2005
  7. till

    till Super Moderator

    You cannot configure the domain of your namesever in the nameserver itself. Thats the hen => egg problem :)
  8. bolinux

    bolinux New Member

    okay, can any one tell me what to do to get this work? :confused: :confused: :confused:
  9. till

    till Super Moderator

    1) register a domain. Use the DNS servers of your DNS registrar for this domain. Point this domain to your nameserver.

    2) When you register your second, third, etc. domain you can add these domains to the DNS-Manager in ISPConfig. Then enter in the nameserver field at your registrar your first Domain (the domain that points to your nameserver).
  10. bolinux

    bolinux New Member

    okay, but that will not fix the subdomain problem by my registrar!?

    Missing subdomain or subdomain is not ready.
  11. till

    till Super Moderator

    Have you entered the domain first in the ISPConfig DNS-Manager and waited until ISPCOnfig has written the BIND configuration files?

    You can check with this command if your nameserver is authoritive for your domain:

    dig @localhost yourdomain.com

    If the server is authoritive and you still get this error from your registrar, ask the support staff of this company what the error exactly mean in your case.
  12. bolinux

    bolinux New Member

    here the answer:

    advx:/ # dig @localhost xyz.de

    ; <<>> DiG 9.2.4 <<>> @localhost xyz.de
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31107
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

    ;xyz.de. IN A

    xyz.de. 86400 IN A my.ip.xxx.xxx.

    xyz.de. 86400 IN NS slv2.1und1.de.
    xyz.de. 86400 IN NS my.ip.xxx.xxx.

    slv2.1und1.de. 79258 IN A

    ;; Query time: 1 msec
    ;; SERVER:
    ;; WHEN: Mon Sep 12 20:32:52 2005
    ;; MSG SIZE rcvd: 108

    looks okay?
  13. till

    till Super Moderator

    Looks okay.
  14. falko

    falko Super Moderator

    Maybe your registrar requires a subdomain like ns1.xyz.de instead of just xyz.de?

Share This Page