configuring my own DNS : Am I wrong ?

Discussion in 'Installation/Configuration' started by burtathis, Mar 7, 2006.

  1. burtathis

    burtathis New Member


    I want to use my own DNS, so when i bought a new domain ( i put this infos in configuration pannel of (my registrar) :

    - I put one entry : A
    - I waited a while and i add a host : with IP=
    - And finally i change the DNS entry to :
    primary :
    secondary :

    - After that, i made a new website in ispconfig with :
    co-domain : ns1
    - And, in the domain :
    primary :
    secondary :

    Now, when i ping, it is unreachable and it show my internal IP (

    Of course i can't reach or

    Did i forgot some steps ?

    Thanks in advance !
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The problem with this setup is, that you have only one domain.

    It is not possible that the nameserver of a domain ( is only reachable by the domain itself or a subdomain (

    Thats the Hen <==> Egg problem :)

    If you have only one domain, I recommend that you create the A and MX records for in the DNS servers of your registrar and do not use your local DNS manager in ISPConfig. If you get a second domain, you can configure the second domain in ISPConfig DNS-Manager without problems.
    Last edited: Mar 7, 2006
  3. burtathis

    burtathis New Member

    Thanks !

    It's funny ! i had this feeling about the "hen-egg" problem...

    So, to be sure i understood : if i have a domain and a second domain,

    can i use for :
    primary DNS :
    secondary DNS :

    and for :
    primary DNS
    secondary DNS :

    I am sorry, i only start to put my nose in those "concepts" but feel it still the same aviary problem !
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Not completely, but better :) You must think of DNS as something like an addressbook. Its useless if you ask "where is the address book" and the actual location of the address book is noted in the address book itself.


    if you have and

    Configure at your registrars DNS, set an A-Record pointing to your server IP and an A-Record, pointing to your secondary DNS servers IP or in case you own only one server, let point also to your servers IP address.

    Now if you get domain, you can set the primary DNS to and the secondary DNS to

    On your server, you create a primary DNS Record for

    If you enter now in a browser, the nameserver on your server will be asked for the correct IP for and its subdomains.
  5. falko

    falko Super Moderator Howtoforge Staff

  6. burtathis

    burtathis New Member

    Thanks Till and Falko,

    I follow all your advises and i pay attention to put external IP for the DNS entry in ispconfig.

    When i ping it show the good external IP and when i make a whois, it show the good entries for dns :


    but... the website still unreachable outside my network

    any clues ?
  7. falko

    falko Super Moderator Howtoforge Staff

    It's working for me. Is this your IP address?

    You might have to wait up to 72 hours until DNS changes propagate over the internet.
  8. burtathis

    burtathis New Member

    Realy ? do you see ? great !!

    and, yes it's my IP !

    ok, ok ! i'm forced to watch tv for 72h :D

    Thanks a lot

Share This Page