Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose nameServers on dme_secondary_dns #41

Open
sebmck opened this issue Sep 3, 2022 · 0 comments
Open

Expose nameServers on dme_secondary_dns #41

sebmck opened this issue Sep 3, 2022 · 0 comments

Comments

@sebmck
Copy link
Contributor

sebmck commented Sep 3, 2022

Right now the resource dme_secondary_dns doesn't return any additional attributes other than what it accepts which reduces it's usefulness. We are using a terraform integration with our registrar to automatically update nameservers and it would be nice if the resource also return the nameServers property that accompanies the dns/secondary API that's specified here:

{
  ...
"nameServers": [
    {
      "ipv6": "2600:1800:5::1",
      "ipv4": "208.94.148.13",
      "fqdn": "ns5.dnsmadeeasy.com",
      "groupId": 100,
      "id": 6
    },
    {
      "ipv6": "2600:1801:6::1",
      "ipv4": "208.80.124.13",
      "fqdn": "ns6.dnsmadeeasy.com",
      "groupId": 100,
      "id": 7
    },
    {
      "ipv6": "2600:1802:7::1",
      "ipv4": "208.80.126.13",
      "fqdn": "ns7.dnsmadeeasy.com",
      "groupId": 100,
      "id": 8
    }
  ]
  ...
}

Right now we have to manually go into the DME dashboard and hard code the variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant