0

Custom Dnsmasq DNS Arista/Untangle Firewall, NextDNS

Wondering if it's possible to use multiple DNS profiles at NextDNS through custom Dnsmasq settings.

This is the default code provided but I've been trying to edit with no luck in have different vlans/interfaces point to their own profile. Please help in letting me know what needs to be added or removed. Regardless what I've tried this code seem to be global and affects all interfaces.

Use the following in dnsmasq.conf:

no-resolv
bogus-priv
strict-order
server=2a07:a8c1::
server=45.90.30.0
server=2a07:a8c0::
server=45.90.28.0
add-cpe-id=<profile>

Basically what I'm asking is how do you route DNS request based on source interface or subnet.

I've tried adding tags, interfaces etc.

3 replies

null
    • NextDNs
    • 1 yr ago
    • Reported - view

    Dnsmasq does not support that. You need to use https://nextdns.io/cli for that

      • G_B.2
      • 1 yr ago
      • Reported - view

      NextDNS Thanks for the reply. I'll check out the info provided.

      • G_B.2
      • 1 yr ago
      • Reported - view

      NextDNS Noticed Untangle/Arista FW is not one of the supported platforms. Is it recommended to install CLI on router for the conditional profile ID or this will likely break things?

Content aside

  • 1 yr agoLast active
  • 3Replies
  • 241Views
  • 2 Following