{
  "name": "Perform Multi-type DNS Lookups with Google's Free Public DNS Service",
  "nodes": [
    {
      "id": "4340255d-eab4-43f8-a081-c81eb61f4e2b",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        928,
        656
      ]
    },
    {
      "id": "216ec461-7be9-423c-8898-467ca3435306",
      "name": "DNS Lookup",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1312,
        672
      ]
    },
    {
      "id": "a1a9cb2e-55b0-4de3-b4dd-481960fdf74f",
      "name": "Set human readable type in output",
      "type": "n8n-nodes-base.code",
      "position": [
        1520,
        672
      ]
    },
    {
      "id": "7e513dfd-7487-4018-9156-d0a64f65a5e6",
      "name": "Aggregate results",
      "type": "n8n-nodes-base.code",
      "position": [
        1440,
        320
      ]
    },
    {
      "id": "f1703e6f-9e88-4f65-af93-a42d5f94e3ff",
      "name": "Default to all DNS types",
      "type": "n8n-nodes-base.set",
      "position": [
        736,
        576
      ]
    },
    {
      "id": "8b95a121-bb65-4a92-8f7d-12ae75e44209",
      "name": "Use selected DNS types",
      "type": "n8n-nodes-base.set",
      "position": [
        736,
        752
      ]
    },
    {
      "id": "3f01a762-2608-49c0-bb3a-e37c72405e86",
      "name": "If no DNS type in input",
      "type": "n8n-nodes-base.if",
      "position": [
        560,
        656
      ]
    },
    {
      "id": "49a5b001-6bc4-46c6-aea2-9ee9d72ee147",
      "name": "For each DNS type",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1104,
        656
      ]
    },
    {
      "id": "24035b9b-a88a-42d2-98ba-115a6c76ccd2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1296,
        144
      ],
      "parameters": {
        "width": 416,
        "height": 368,
        "content": "## Outputs an aggregated list of the DNS lookup results"
      }
    },
    {
      "id": "d4a8faa0-9cae-40fa-bbf2-76cc88ddebc7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        528
      ],
      "parameters": {
        "width": 1472,
        "height": 416,
        "content": "## Loops over each type and executes a DNS lookup"
      }
    },
    {
      "id": "b0696455-1381-4af8-a709-a3643a4a077f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        144
      ],
      "parameters": {
        "width": 1040,
        "height": 368,
        "content": "## Information\nTemplate created by Smultron Studio (https://smultronstudio.com/en) - feel free to reach out at hello@smultronstudio.com\n\n### Instructions:\n* Use the Form input to enter a domain and se"
      }
    },
    {
      "id": "2cbf850c-81dd-49f5-906c-39843df897e6",
      "name": "Form input",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        352,
        656
      ]
    }
  ],
  "connections": {
    "Split Out": {
      "main": [
        [
          {
            "node": "For each DNS type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DNS Lookup": {
      "main": [
        [
          {
            "node": "Set human readable type in output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form input": {
      "main": [
        [
          {
            "node": "If no DNS type in input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "For each DNS type": {
      "main": [
        [
          {
            "node": "Aggregate results",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "DNS Lookup",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Use selected DNS types": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If no DNS type in input": {
      "main": [
        [
          {
            "node": "Default to all DNS types",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Use selected DNS types",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default to all DNS types": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set human readable type in output": {
      "main": [
        [
          {
            "node": "For each DNS type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}