# DNS Bans v1.0 by MC_8 - Carl M. Gregory <gregory@worldinter.net>

**Category:** Eggdrop_Script
**Original Author:** MC_8 (Carl M. Gregory)

## Description
This script bans users based on their hostname/IP address, using DNS lookups to determine if the user's IP matches a defined ban pattern.

## Key Features
- Bans users whose hostname/IP matches predefined ban patterns.
- Supports reverse DNS lookups to identify banned hosts.
- Configurable ban masks for different levels of specificity.
- Checks for newer versions via MC SVS (Script Version Server).
- Notifies administrators about available updates or new stable versions.

## File Analysis
- **mc.dnsbans.tcl** — Main script file containing the logic for DNS bans, including configuration settings and event bindings. It handles user joins, mode changes, and DNS lookups to enforce bans.
- **mc:dnsb:masktype** — Procedure that generates ban masks based on different patterns.