Dns

Discussion in 'Installation/Configuration' started by mentes, Aug 10, 2011.

  1. mentes

    mentes New Member

    I would like have my own dns, like ns1.mydomain.com and ns2.mydomain.com

    I have delegated dns on my registrar, and I have configured on ISPConfig this zone.

    A mydomain.com. 33.22.22.11 0
    A mail 33.22.22.11 0
    A ns1.mydomain.com 0
    A www 33.22.22.11 0
    MX mydomain.com. mail.mydomain.com. 10
    NS mydomain.com. ns1.mydomain.com. 0
    NS mydomain.com. ns2.mydomain.com. 0

    But it doesn't work.

    ping mydomain.com
    ping: unknown host mydomain.com

    ping ns1.mydomain.com
    ping: unknown host mydomain.com

    dig mydomain.com
    ;mydomain.com. IN A
     
  2. Ghostdare

    Ghostdare Member

    I records must be like this:

    A mydomain.com. 44.33.22.11 0
    A mail 44.33.22.11 0
    A ns 44.33.22.11 0
    A www 44.33.22.11 0
    MX mydomain.com. mail.mydomain.com. 10
    NS mydomain.com. ns.mydomain.com. 0

    NS must point to an IP address.

    PS: don't forget about the dot at the end of "mydomain.com"
     
    Last edited: Aug 11, 2011
  3. mentes

    mentes New Member

    A ns 44.33.22.11

    Just has the solution.

    Thank you.
     

Share This Page