DNS configuration in ISPC 3 - please please

Discussion in 'Installation/Configuration' started by manarak, May 19, 2009.

  1. manarak

    manarak Member

    I need some help for setting up DNS with ISPConfig 3 please.

    Here is the situation:
    Now, here is what I want to achieve:

    Server2 should be reachable at http://server2.host.com, and the DNS server should listen on both IPs:
    IP1: 219.152.248.132 -> dns3.host.com
    IP2: 219.152.242.245 -> dns4.host.com

    I did insert some A records on Server1:
    server2.host.com -> 219.150.248.132
    dns3.host.com -> 219.152.248.132
    dns4.host.com -> 219.152.242.245
    (those changes were successful, all three point to the new server)

    Is the above correct?
    What do I need to do on server2?

    Many thanks for help, I am not good at that.
     
  2. ago2guy

    ago2guy New Member

    It looks good. You were correct regarding adding server2 to server1's ns servers as server1 holds the zone for host.com...lots of people miss that point.

    You will have to allow zone transfers between server 1 and server 2 if you plan to use server 2 as a slave to the primary ns server. Its done in the zone section of DNS however I have not played with it yet on version 3.

    a.
     
  3. manarak

    manarak Member

    Well, yes, I got it that far...

    But then I don't know what to do on the ISPC3 server.
    (I do not plan to run it as a slave)

    Should server2 acknowledge somehow that it is indeed dns3 and dns4?


    I tried to setup a domain on ISPC3, but it doesn't work.
    I must be missing something.

    On server2, I setup a zone:
    (the final points are missing, but they appear to have been set automatically)

    then I setup records in the next tab:

    but this doesn't resolve

    even if I try nslookup on the same server the domain is hosted on, it won't find it!

    can you spot the fatal error?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you wnat to setup a domain in the dns manager, then use the dns wizard to get an idea how the correct records shall look like.

    You missed the dots at the end of all lines. Use the dns whizard for a correct example.

    No.

    Regarding zone transfer. In a dns server setup that uses mydns in most caeses you use mysql replication or let all dns servers connect to a central database instead of using zone transfer.
     
  5. manarak

    manarak Member

    Thank you.

    I do not intend to do zone transfers.

    I used the wizard and corrected the entries but still no joy.

    Here is how they look now:

    records
    So... what could be the problem?

    EDIT:

    I just ran an external test and it said:
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The record looks ok now. How did you test it? You must be aware that chnages in dns take up to 48 hours to become valid!

    If you wnat to test it now, use the dig command on the shell like this:

    dig @localhost mydomain.com
     
  7. manarak

    manarak Member

    Thank you very much Till, it is working now!
     

Share This Page