(GET) - Container DNS

Gets a list of all dns records for any domains set.

Request URL

Parameters

container - The container ID

More info

None

Test URL

Response

{
  "data": [
    {
      "domain": "dgaepe.n7.myws.ca",
      "record": [
        {
          "id": 1,
          "record": "@",
          "type": "NS",
          "priority": 10,
          "value": "lisa-n7.myws.ca"
        },
        {
          "id": 2,
          "record": "@",
          "type": "NS",
          "priority": 10,
          "value": "mike-n7.myws.ca"
        },
        {
          "id": 9,
          "record": "@",
          "type": "A",
          "priority": 10,
          "value": "159.203.29.179"
        },
        {
          "id": 10,
          "record": "mail",
          "type": "A",
          "priority": 10,
          "value": "159.203.29.179"
        },
        {
          "id": 11,
          "record": "www",
          "type": "A",
          "priority": 10,
          "value": "159.203.29.179"
        },
        {
          "id": 12,
          "record": "pop",
          "type": "A",
          "priority": 10,
          "value": "159.203.29.179"
        },
        {
          "id": 13,
          "record": "ftp",
          "type": "A",
          "priority": 10,
          "value": "159.203.29.179"
        },
        {
          "id": 14,
          "record": "@",
          "type": "MX",
          "priority": 10,
          "value": "mail.dgaepe.n7.myws.ca"
        },
        {
          "id": 15,
          "record": "@",
          "type": "TXT",
          "priority": 10,
          "value": "v=spf1 a mx ip4:159.203.29.179 ?all"
        },
        {
          "id": 16,
          "record": "_dmarc",
          "type": "TXT",
          "priority": 10,
          "value": "v=DMARC1; p=none"
        },
        {
          "id": 17,
          "record": "_domainkey",
          "type": "TXT",
          "priority": 10,
          "value": "t=y; o=~;"
        },
        {
          "id": 18,
          "record": "mail._domainkey",
          "type": "TXT",
          "priority": 10,
          "value": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCbCTzyIZ0m6RVnmQOMwTwybZ8q4ufiaERW/j/olJ/f4Q6Iicbic/uqK/Zt7ApfhVhL4UHeWjIghsGlt4fdMxtNiTa5Bq/SehC4N2lBaX5LCzgfw3xTNEy8+kp6E4Oemq9OWvVgdjbtEoi/MseV/iaiBhthayNglDpCk4UGAyeRHQIDAQAB"
        }
      ]
    }
  ],
  "system_connection": "true",
  "system_version": "v2_129_26986406be0538ae846af83902d465884466b69f",
  "system_user_id": 1232,
  "system_user_username": "apiuser",
  "system_process_id": "false",
  "system_process_command": "false"
}