n3integration/terraform-provider-godaddy

NS records for sub domain

nxferns opened this issue · 1 comments

Hi

Firstly thanks for this amazing provider

I was wondering if it would be possible to add support for creating NS records for a sub domain, currently with the below configuration terraform adds the nameserver's for the root domain instead, which is not what I was expecting.

    #### A Record for the name server
    record {
    name = "ns1"
    type = "A"
    data = "8.8.8.8"
    ttl = 600
    }

    #### NS record for the subdomain
    record {
    name = "sub.test.com"
    type = "NS"
    data = "ns1.test.com"
    ttl = 600
    }

    #### NS record for the subdomain
    record {
    name = "sub.test.com"
    type = "NS"
    data = "ns2.test.com"
    ttl = 600
    }

+1