Nameserver bug?

Discussion in 'Developers' Forum' started by ovredsson, Oct 30, 2009.

  1. ovredsson

    ovredsson New Member

    Hi,
    I run ispconfig 3 and have some problem with my nameserver creation.
    I host my own nameservers,

    I have lets say ns1.XXXXXXX.se
    and ns2.XXXXXXX.se

    Ns1 = 123.123.123.2
    Ns2 = 123.333.443.1

    When I take an nslookup on ns1.ns1.XXXXXXX.se I get.
    Non-authoritative answer:
    ns1.XXXXXXX.se canonical name = www.xxxxxxx.se.
    Name: www.xxxxxx.se
    Address: 123.123.123.2

    When I run ns2.XXXXXXX.se I get the same awnser.
    And the address is the same as ns1.

    Whats wrong.

    The result of the answers should be different IP.

    I haved Ispconfig 2 before with the same configuration and got the answer.
    Non-authoritative answer:
    Name: ns2.xxxxxxxxx.se
    Address: 123.333.443.1

    The different thing is that it worked :)

    Hope you can help me.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Make sure that you used the dns wizard to create the dns records, it will create all sub records as needed for you.

    Also ns records can never be an IP address, they must be a domain.
     
  3. ovredsson

    ovredsson New Member

    Dns

    Hi
    thank you for the reply.
    You are right about the guide and that it cant be an ip.
    But My problem is that i host My own DNS.
    So when i have created My DNS name with the guide i have to create ns1 and ns2 with ip so the n1 and 2 i typed in when created the DNA site knows them.
    This is what the isp DNS looks for. Ns1 is My own stativ isp address and ns2 points to My secondary. Thats where it's go wrong. Ispconfig2 found both of them ispconfig 3 finds them as same ip when it's to different one.

    Hope you understand more from this mail and My first.

    Sorry for My iPhone spelling it chooses My words :)

    Peter
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There is nothing wrong. Its absolutely ok that the answer is the same on primary and secondary ns server. run:

    dig NS yourdomain.com

    if it lists both nameservers, the the setup is correct.
     
  5. ovredsson

    ovredsson New Member

    Thank you!

    If this is right then it is right then :)
    Thank you for all the help.
     

Share This Page