none
DNS - host A record VS subdomain RRS feed

  • Question

  • Hi guys!

    I have question regarding when to use subdomain and when to use A record under main domain?

    e.g. I have main domain ABCD.com. I want to create record EFGH.ABCD.com that points to IP address 1.2.3.4. From my point of view I have to options:

    1) Create host A record under main domain ABCD.com that points to the IP address 1.2.3.4 - host (A) record EFGH.ABCD.com=>1.2.3.4

    2) Create EFGH as subdomain of main domain ABCD.com and then under that subdomain create host A record (without Name field) that points to IP address 1.2.3.4

    If I create EFGH record as subdomain of main domain ABCD.com I can have separate MX, NS, SOA... records but if I create my record as host A record under main domain then MX, NS, SOA records from main domain are used.



    The question is when to use records as host A records and when to use it as subdomain of a main domain? 



    Thanks!
    Friday, October 9, 2020 9:38 AM