← All projects

DNServer-with-Redis

by @safiAchraf

12

Forwarding DNS server with REDIS as Cache

About this project

Go DNS Server with Redis Caching This project is a DNS forwarding server written in Go from scratch, designed to provide efficient DNS query resolution. It utilizes Redis as a caching layer to improve performance by reducing redundant upstream DNS queries. Features DNS Query Forwarding: Forwards DNS queries to upstream DNS servers (e.g., Google DNS, Cloudflare DNS). Redis Cache Integration: Caches DNS query results in Redis to minimize repeated requests and reduce latency. Compression Support: Efficiently handles DNS message compression as per the DNS protocol. Configurable Upstream Servers: Allows customization of upstream DNS servers. Minimal Resource Consumption: Written in Go for optimal performance and efficiency. Prerequisites Go (>=1.19): Make sure you have Go installed. You can download it from here. Redis: A Redis instance running on localhost:6379 or configured as per your needs. Docker (optional): For containerized deployment. Getting Started Clone the repository Install project dependencies BUILD The Dockerfile : The name you want to give the Docker image RUN The Docker image

From the project README on GitHub

Stars
12
Forks
0
Last push
5 Sept 2024

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/dnserver-with-redis.svg)](https://www.madeinalgeria.dev/projects/dnserver-with-redis)

Related projects