NextDNS

The new firewall for the modern Internet. NextDNS protects you from all kinds of security threats, blocks ads and trackers on websites and in apps and provides a safe and supervised Internet for kids — on all devices and on all networks.

Integrate the NextDNS API with the Formatting API

Setup the NextDNS API trigger to run a workflow which integrates with the Formatting API. Pipedream's integration platform allows you to integrate NextDNS and Formatting remarkably fast. Free for developers.

[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it
[Date/Time] Format with the Formatting API

Format a date string to another date string

 
Try it

Overview of NextDNS

NextDNS API on Pipedream allows you to automate DNS management and enrich cybersecurity measures. This API offers control over DNS queries and filtering settings, making it possible to automate domain blocking, security rule updates, and log analysis. Utilizing Pipedream's serverless platform, you can integrate NextDNS with a wide range of services, without the need for a dedicated backend, to enhance network management and threat mitigation.

Connect NextDNS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    nextdns: {
      type: "app",
      app: "nextdns",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.nextdns.io/profiles/abc123`,
      headers: {
        "X-Api-Key": `${this.nextdns.$auth.api_key}`,
      },
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})