DNS Security Shield
    DNS Firewall for Home & Business

    Protect Your Network at the DNS Level

    FirewallDNS blocks malware, phishing attempts, and unwanted content before they ever reach your network. Real-time protection with complete visibility.

    Real-time Blocking
    99.9% Uptime
    Encrypted DNS

    Why You Need a DNS Firewall

    Antivirus works on one device. A firewall watches ports. But nearly every attack, tracker and scam begins with a single question: "where is this domain?" A DNS firewall answers that question for your whole network, and refuses to answer when the destination is dangerous.

    Works on every device

    One setting on your router protects phones, laptops, consoles, TVs and IoT. Nothing to install.

    Stops threats first

    Almost every connection starts with a DNS lookup. Blocking there stops the threat before any data is exchanged.

    Private by design

    Encrypted DNS over DoT and DoH, with clear log retention. You only ever see your own data.

    Full visibility

    Searchable query log, charts and email alerts show exactly what your network talks to.

    What It Fixes

    Phishing sites live only hours or days

    Domains younger than X days are blocked automatically using registration data (RDAP), so brand-new scam sites never load.

    Malware calls home to command servers

    Malware and phishing lists update automatically. Infected devices are stopped before they can leak data or download more payloads.

    Ads and trackers follow you everywhere

    Ad and tracking domains are answered with 0.0.0.0 or NXDOMAIN, on every device, including smart TVs and phones where you cannot install an ad blocker.

    Risky top-level domains are abused

    Block whole TLDs known for abuse, with your own allowlist for the sites you trust.

    DNS rebinding attacks your router and IoT devices

    Public domains that suddenly resolve to private addresses are blocked, protecting your local network from browser-based attacks.

    Kids reach content they should not see

    Parental controls with categories, service blocking (TikTok, YouTube and more), forced SafeSearch, schedules and a one-click "pause internet".

    Filters are bypassed with VPN or encrypted DNS

    Known VPN and public DoH endpoints are blocked, so filtering cannot simply be switched off by an app.

    Open DNS resolvers get abused for attacks

    The server only answers registered IP addresses and ignores everyone else, with rate limits per IP. No open resolver, no amplification abuse.

    Security

    Protect against all kinds of security threats on every device in your network.

    Threat intelligence feeds

    Malware, phishing, cryptojacking and command-and-control domains are blocked using regularly updated threat lists.

    Newly registered domains

    Block domains registered in the last days. Most new domains used in attacks are only active for a short time.

    Typosquatting protection

    Stop look-alike domains that copy well-known brands by swapping or adding letters.

    DNS rebinding protection

    Stop public domains from resolving to private IP addresses and reaching devices on your local network.

    Risky top-level domains

    Block whole TLDs that are often used for spam and abuse, and allow exceptions for sites you trust.

    Parked domains & dynamic DNS

    Block parked pages and dynamic DNS hostnames that are often used to spread malware.

    Privacy

    Block ads and trackers in websites and apps, and keep your DNS traffic private.

    Ad and tracker blocklists

    Choose from popular community-maintained lists to block ads, trackers and analytics domains.

    Native tracking protection

    Block tracking built into operating systems, smart TVs and connected devices.

    Disguised third-party trackers

    Detect trackers that hide behind a website's own subdomain to avoid blockers.

    Encrypted DNS

    Use DNS-over-TLS and DNS-over-HTTPS so your network provider cannot read or change your lookups.

    Clear log retention

    Logs are kept for a set period and deleted automatically.

    Affiliate & tracking links

    Decide whether affiliate and tracking links in emails and search results should work.

    Parental Control

    Keep children safe online with simple, reliable controls that work on every device.

    Content categories

    Block categories such as adult content, gambling, dating and piracy with one switch each.

    Websites, apps & games

    Block specific services like TikTok, YouTube, Fortnite, Instagram and more.

    SafeSearch

    Force SafeSearch on Google, Bing, DuckDuckGo and other search engines, and filter explicit results.

    YouTube restricted mode

    Hide mature videos and comments on YouTube.

    Schedules & recreation time

    Allow some services only at certain times, like games after homework or nothing after bedtime.

    Block bypass methods

    Block VPNs, proxies and public encrypted DNS services that children could use to get around the rules.

    Analytics & Logs

    See what your devices are really doing on the internet.

    Real-time query log

    Watch every DNS request as it happens, with the domain, device and whether it was allowed or blocked.

    Search and filter

    Find any domain quickly and filter by blocked, allowed or device.

    Charts and top lists

    See the most queried and most blocked domains, top devices and blocking reasons.

    Email alerts

    Get notified when a device tries to reach malware or phishing domains.

    One-click allow or block

    Allow or block a domain directly from the log.

    Data retention you control

    Keep logs for an hour, a day, a month or not at all.

    Set Up in Three Steps

    1. 1

      Create an account

      Sign up and register the IP address of your network. Use the "use my IP" button to fill it in.

    2. 2

      Pick your protection

      Turn on security, privacy and parental control features. Every setting takes effect within seconds.

    3. 3

      Point your DNS to us

      Change the DNS server on your router or device, or use your own DNS-over-HTTPS or DNS-over-TLS address.

    Works Everywhere

    Set it once on your router to protect every device at home, or set it per device to stay protected on mobile networks and public Wi-Fi.

    RoutersWindowsmacOSLinuxiOS & iPadOSAndroidChromeOSSmart TVsGame consolesBrowsers

    Fully Configurable

    You decide exactly what gets through.

    • Your own allowlist and denylist
    • Block responses with 0.0.0.0 or NXDOMAIN
    • Rewrites for local hostnames
    • Dynamic IP support with a personal update link
    • Settings sync to the DNS server in seconds
    • REST API for automation

    Enterprise Security Features

    Complete DNS-level protection with the visibility and control your organization needs.

    Malware Domain Blocking

    Automatically blocks connections to known malware distribution networks, command & control servers, and compromised domains in real-time.

    Newly Registered Domain Detection

    Identifies and optionally blocks domains registered within the last 30 days - a common vector for phishing and malware campaigns.

    Content Category Filtering

    Filter DNS requests by category including adult content, gambling, social media, and more. Customize policies per IP or network.

    Real-time DNS Monitoring

    See every DNS query from your network in real-time. Track blocked requests, identify threats, and monitor network activity.

    Custom Blocklists & Allowlists

    Create your own rules. Add specific domains to block or allow. Override default policies with granular control.

    Analytics & Reporting

    Comprehensive dashboards showing query statistics, blocked threats, top domains, and historical trends for compliance reporting.

    Simple, Transparent Pricing

    One simple price: $2.90 per device per month. Pick the package that fits your network.

    Starter

    $14.50/month

    5 devices at $2.90 per device per month

    • 5 devices
    • Malware & phishing blocking
    • New domain blocking
    • 30-day log retention
    • Email support
    Get Started
    Most Popular

    Business

    $72.50/month

    25 devices at $2.90 per device per month

    • 25 devices
    • All security & content filters
    • Parental & category controls
    • Custom allow/block lists
    • Priority support
    • API access
    Get Started

    MSP

    $2.90/device / month

    Unlimited devices, billed per device

    • Unlimited devices and customers
    • Multi-customer management
    • Per-customer invoicing
    • Advanced analytics
    • Dedicated support
    Contact Sales

    All plans include a 14-day money-back guarantee. No questions asked.

    Documentation

    Everything you need to deploy, configure, and optimize FirewallDNS for your environment.

    Getting Started

    Quick setup guide to get FirewallDNS protecting your network in under 5 minutes.

    • → Account creation
    • → IP registration
    • → DNS configuration
    • → First query test

    Configuration Guide

    Learn how to customize filters, create allowlists, and fine-tune protection.

    • → Filter categories
    • → Custom blocklists
    • → Allowlist management
    • → Schedule-based rules

    API Reference

    Complete REST API documentation for programmatic access and automation.

    • → Authentication
    • → Endpoints
    • → Rate limits
    • → Webhooks

    Router Setup

    Step-by-step instructions for configuring DNS on popular router brands.

    • → ASUS routers
    • → Netgear
    • → TP-Link
    • → pfSense/OPNsense

    Security Best Practices

    Recommendations for maximizing protection and security hygiene.

    • → Layered security
    • → DNSSEC
    • → DoH/DoT setup
    • → Monitoring alerts

    Troubleshooting

    Common issues and solutions to get you back up and running quickly.

    • → DNS propagation
    • → Blocked sites
    • → Performance issues
    • → Log analysis

    Quick Reference: DNS Server Addresses

    Primary DNS

    dns1.firewalldns.com

    Secondary DNS

    dns2.firewalldns.com

    Configure these DNS servers on your router or device after registering your IP address in the dashboard.

    Understanding DNS Security

    A comprehensive guide to DNS-level protection and why it matters for your organization.

    What is DNS Filtering?

    DNS (Domain Name System) filtering is a technique that blocks access to malicious or unwanted websites at the DNS resolution level. When a user tries to access a website, their device first queries a DNS server to translate the domain name into an IP address. DNS filtering intercepts this query and blocks resolution for domains that match predefined security policies.

    Unlike traditional web filtering that operates at the HTTP level, DNS filtering works at the network layer, providing protection before any connection is established. This means malware, phishing sites, and command & control servers are blocked before they can communicate with your network.

    Types of DNS Threats

    Malware Domains

    Domains hosting malicious software, ransomware droppers, and exploit kits. These are typically short-lived domains used in drive-by download attacks.

    Phishing Sites

    Fake websites designed to steal credentials by impersonating legitimate services like banks, email providers, and popular platforms.

    C2 Servers

    Command and control infrastructure used by attackers to communicate with malware installed on compromised systems.

    DNS Tunneling

    A technique where attackers encode data in DNS queries to bypass security controls and exfiltrate data from compromised networks.

    Why Block Newly Registered Domains?

    Research shows that over 70% of newly registered domains (NRDs) are never used for legitimate purposes. Cybercriminals frequently register new domains for phishing campaigns, malware distribution, and other malicious activities because:

    • New domains haven't been flagged by security tools yet
    • They can mimic legitimate brands with slight variations
    • Bulk domain registration is cheap and automated
    • Domains are often used within hours of registration and abandoned quickly

    FirewallDNS tracks domain registration dates and can optionally block or flag domains registered within the last 30 days, significantly reducing your attack surface against zero-day phishing and malware campaigns.

    DNS Server Integration

    Set up your DNS server to communicate with FirewallDNS. These scripts handle IP whitelisting, blocklist syncing, and log forwarding.

    Server Sync Script

    This script syncs allowed IPs to iptables and downloads blocklists from your FirewallDNS account. Run as a systemd service.

    #!/bin/bash
    # FirewallDNS Server Client
    # This script runs on your DNS server to sync with FirewallDNS
    
    FIREWALLDNS_API="https://api.firewalldns.com/v1"
    API_KEY="your-api-key-here"
    
    # Function to sync allowed IPs
    sync_iptables() {
      echo "Fetching allowed IPs from FirewallDNS..."
      
      # Get list of allowed IPs from API
      ALLOWED_IPS=$(curl -s -H "Authorization: Bearer $API_KEY" \
        "$FIREWALLDNS_API/allowed-ips")
      
      # Clear existing FirewallDNS rules
      iptables -D INPUT -p udp --dport 53 -j FIREWALLDNS 2>/dev/null
      iptables -F FIREWALLDNS 2>/dev/null
      iptables -X FIREWALLDNS 2>/dev/null
      
      # Create new chain
      iptables -N FIREWALLDNS
      
      # Add allowed IPs
      for ip in $ALLOWED_IPS; do
        iptables -A FIREWALLDNS -s $ip -j ACCEPT
        echo "Allowed: $ip"
      done
      
      # Drop all other DNS traffic
      iptables -A FIREWALLDNS -j DROP
      
      # Link to INPUT chain
      iptables -A INPUT -p udp --dport 53 -j FIREWALLDNS
      
      echo "iptables rules updated successfully"
    }
    
    # Function to sync DNS blocking rules
    sync_blocklists() {
      echo "Syncing blocklists from FirewallDNS..."
      
      # Fetch user-specific blocklists
      curl -s -H "Authorization: Bearer $API_KEY" \
        "$FIREWALLDNS_API/blocklists" > /etc/firewalldns/blocklists.txt
        
      # Reload DNS server (example for dnsmasq)
      systemctl reload dnsmasq
      
      echo "Blocklists synced successfully"
    }
    
    # Main sync loop
    while true; do
      sync_iptables
      sync_blocklists
      sleep 60  # Sync every minute
    done

    Dnsmasq Configuration

    Example dnsmasq configuration for use with FirewallDNS. Logs all queries and loads blocklists from the synced file.

    # /etc/dnsmasq.d/firewalldns.conf
    # FirewallDNS dnsmasq configuration
    
    # Log all DNS queries
    log-queries
    log-facility=/var/log/firewalldns/queries.log
    
    # Load blocklists
    conf-file=/etc/firewalldns/blocklists.txt
    
    # Forward to upstream DNS if not blocked
    server=8.8.8.8
    server=8.8.4.4
    
    # Listen on all interfaces
    interface=eth0
    bind-interfaces
    
    # Cache settings
    cache-size=10000
    neg-ttl=3600

    Log Forwarding Script

    Forwards DNS query logs to FirewallDNS in real-time. This enables the dashboard analytics and threat detection features.

    #!/bin/bash
    # Send DNS logs to FirewallDNS API
    
    FIREWALLDNS_API="https://api.firewalldns.com/v1"
    API_KEY="your-api-key-here"
    LOG_FILE="/var/log/firewalldns/queries.log"
    
    tail -F $LOG_FILE | while read line; do
      # Parse dnsmasq log format
      DOMAIN=$(echo $line | grep -oP 'query\[\w+\] \K[^ ]+')
      QUERY_TYPE=$(echo $line | grep -oP 'query\[\K\w+')
      CLIENT_IP=$(echo $line | grep -oP 'from \K[0-9.]+')
      
      if [ -n "$DOMAIN" ]; then
        # Send to API
        curl -s -X POST -H "Authorization: Bearer $API_KEY" \
          -H "Content-Type: application/json" \
          -d "{\"domain\": \"$DOMAIN\", \"query_type\": \"$QUERY_TYPE\", \"source_ip\": \"$CLIENT_IP\"}" \
          "$FIREWALLDNS_API/logs"
      fi
    done

    API Reference

    Integrate FirewallDNS into your infrastructure with our comprehensive REST API.

    Key Features

    Secure Authentication

    API keys with granular permissions. Supports both Bearer tokens and API key headers.

    Low Latency

    Average response time under 50ms. Rate limits of 1000 requests per minute on Pro plans.

    Webhooks

    Real-time notifications for blocked threats, configuration changes, and security events.

    SDK Support

    Official libraries for Python, Node.js, Go, and Ruby. Community SDKs for other languages.

    Endpoints

    GET
    /api/v1/settings

    Retrieve current filter settings

    PUT
    /api/v1/settings

    Update filter configuration

    GET
    /api/v1/logs

    Fetch DNS query logs

    POST
    /api/v1/ip

    Register a new IP address

    DELETE
    /api/v1/ip/{id}

    Remove an IP address

    GET
    /api/v1/stats

    Get query statistics

    Example Request

    curl -X GET "https://api.firewalldns.com/v1/settings" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json"
    
    # Response
    {
      "block_malware": true,
      "block_adult_content": false,
      "block_social_media": false,
      "block_gambling": true,
      "block_new_domains": true,
      "custom_blocklist": ["ads.example.com"],
      "custom_allowlist": ["trusted.example.com"]
    }

    Start Protecting Your Network Today

    Join thousands of organizations using FirewallDNS to secure their networks at the DNS level. Only $2.90 per device per month.

    $2.90 per device per month • Packages for teams and MSPs • Cancel anytime