HLDNS: Local Domain Names Registrar with CIR1 Interface
Project description
🌐 HioSW hldns v5.6.8 RU-rus HioSW Local Domain Name System — это легковесный и быстрый DNS-движок для управления локальными доменными именами внутри домашней или корпоративной сети (LAN). Версия 5.6.8 сфокусирована на чистой работе с DNS-протоколом и управлении через декларативный Python-конфиг. 🚀 Основные возможности Local DNS Resolving: Мгновенная привязка имен типа имя.сайта к локальным IP. HioSW DSL: Удобный синтаксис инициализации сервера. Anti-DDOS: Встроенное ограничение частоты запросов (max.req). API Management: Интеграция с FastAPI для внешнего управления. Network Alert: Оповещение устройств в сети о доступности сервиса через протоколы HioSW
📝 Пример конфигурации (HioSW Style) Настройка выполняется прямо в app/main.py: python from hldns import server, localdomain, servers, getip
Инициализация
x = getip("x", getip) localdomain("my.home", x) # Привязка домена к IP localdomain.set("web.html") # Путь к локальной странице localdomain.port.set("dns", 53, "use", 5000)
Запуск
server.updateset() servers.showme() # Оповещение сети server.start() # Старт DNS-движка
Безопасность
server.max_req(3) # Анти-DDOS (3 запр/сек) servers.infoend() # Финализация потоков
⚡ Запуск Важно: Для работы DNS на порту 53 консоль должна быть запущена от имени администратора
US-eng 🌐 HioSW hldns v5.6.8 HioSW Local Domain Name System is a lightweight and fast DNS engine for managing local domain names within a home or corporate network (LAN). Version 5.6.8 focuses on pure DNS protocol support and management via a declarative Python configuration. 🚀 Key Features Local DNS Resolving: Instantly map names like "name.site" to local IP addresses. HioSW DSL: Convenient server initialization syntax. Anti-DDOS: Built-in request rate limiting (max.req). API Management: Integration with FastAPI for external management. Network Alert: Notifies network devices about service availability via HioSW protocols. 📝 Configuration example (HioSW Style) Configuration is done directly in app/main.py: python from hldns import server, localdomain, servers, getip
Initialization
x = getip("x", getip) localdomain("my.home", x) # Bind domain to IP localdomain.set("web.html") # Path to local page localdomain.port.set("dns", 53, "use", 5000)
Startup
server.updateset() servers.showme() # Network notification server.start() # DNS engine start
Security
server.max_req(3) # Anti-DDOS (3 requests/sec) servers.infoend() # Stream finalization
⚡ Startup Important: For DNS to work on port 53, the console must be run as administrator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cir1_hldns-1.6.14-py3-none-any.whl.
File metadata
- Download URL: cir1_hldns-1.6.14-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50e0aa466e22403a4684efdd61857107fa848291b8f711b94f80813c4a6a511e
|
|
| MD5 |
e037aec1c780965ad3b7c19a2b80e690
|
|
| BLAKE2b-256 |
c28f3b4b89a087d0785247ae9d93473088a75de3aa2c967f90611a1ba23975fb
|