DNS Record on ISPConfig 3.1.2 correct sintax

Discussion in 'Installation/Configuration' started by Niubbo75, Feb 25, 2017.

  1. Niubbo75

    Niubbo75 Member

    Hello to all, I'm going to switch from my registrant DNS to mine on my servers with ISPConfig 3.1.2 and I have a question about the correct sintax to use to add a record, i.e. www
    If I want to create an "A" record I have to choose (of course) A record then in Hostname I have to write:
    1. www
    2. www.mydomain.com
    3. www.mydomain.com.
    what is the correct one from those 3 options?
    IP-Address is quiet clearly, also TTL :p
     
  2. sjau

    sjau Local Meanie Moderator

    depends....
    if you just write "www" then it will add the zone domain to it. If the zone domain is "domain.tld" then you will end up with "www.domain.tld".
    If you write "www." then it won't add the zone domain to it. The you would end up with an entry of just "www"

    So, the dot at the end tells to not add anything while omitting the dot tells to add the domain zone. So you have two options, either add:

    www IN A x.x.x.x
    or
    www.domain.tld. IN A x.x.x.x
     
    Jesse Norell likes this.
  3. Niubbo75

    Niubbo75 Member

    Thankyou sjau! Now is all clear!
     

Share This Page