Integrations / Network

SecureAI + MikroTik RouterOS

Your MikroTik sends SecureAI its DNS log. SecureAI finds the AI your company has not approved, and the router answers NXDOMAIN for it with the list SecureAI publishes. You keep the MikroTik you already run, with no change of vendor.

Everyone wins

MikroTik RouterOS
chatgpt.comapprovedclaude.aiapprovedcopilotapproved

Your people

Keep using the approved AI. A block touches only the domains you picked.

claude.ai

Security

You stop unapproved AI on the network, including devices without the SecureAI Agent.

martin.reedchat.deepseek.com
lucia.pazchatgpt.com
ENG-LT-22claude.ai

No lock-in

You keep the MikroTik and see which AI each office uses in its logs. If you add another brand or switch, your policy stays in SecureAI.

How it works

How SecureAI sees and blocks AI through MikroTik

  1. 01

    You connect MikroTik

    You send the router's DNS log to the collector and add a script that downloads the list every 5 minutes. The collector adds the Hotspot user and the DHCP device.

  2. 02

    The AI your people use, by IP and user

    SecureAI matches the destinations with its AI catalog and lists the calls by IP, user or device. DeepSeek and Mistral show up as unapproved. Without Hotspot or DHCP, the query arrives without a user.

  3. 03

    You block from SecureAI

    You pick the domains, the duration and the reason. SecureAI adds them to the list the router downloads, and the block reaches the whole network that goes through MikroTik.

  4. 04

    MikroTik applies the list

    The script writes static DNS entries that answer NXDOMAIN, with the secureai-feed comment.

  5. 05

    Automatic blocks that expire

    When an unapproved AI passes a threshold of calls per day or per 7 days, SecureAI blocks it on its own, with a duration and a cap on simultaneous blocks. When the time runs out, it releases it.

What you get

What it reads from MikroTik

The router's DNS log, with the user from Hotspot and the device from DHCP.

Unapproved AI, with a name

SecureAI marks the AI your company has not approved and shows who calls it and how often. Without Hotspot or DHCP, the query arrives without a user.

Block with a RouterOS script

You block domains for 30 minutes, a day or until you release them, and MikroTik applies it on its next update.

Automatic block and release

You set the threshold, the window, the duration and the cap on simultaneous blocks. SecureAI releases each block when it expires.

If the feed fails, the last list stays

MikroTik keeps the last good list until SecureAI answers again.

What it does not see

Clients that use another DNS server or DNS over HTTPS skip the router's log and its block.

Requirements

  • RouterOS 7.18 or later.
  • A router user with the read, write, test and ftp policies.
  • It misses clients that use another DNS server or DNS over HTTPS.