A simple suboptimal dns server which forward requests to multiple servers according to domains
Project description
A simple suboptimal dns server which forward requests to multiple servers according to domains.
Invocation:
> dispatching-dns <config.yaml>
Sample Configuration:
address: 192.168.1.1
user: nobody
user: nogroup
resolver:
!dispatch
rules:
- ['google.com', 1]
targets:
- !cache
cache_size: 5000
upstreams:
- !service
address: 192.168.0.1
- !log
resolver:
!cache
cache_size: 500
upstreams:
- !service
address: 8.8.8.8
- !service
address: 8.8.4.4
log: addresses.log
Invocation:
> dispatching-dns <config.yaml>
Sample Configuration:
address: 192.168.1.1
user: nobody
user: nogroup
resolver:
!dispatch
rules:
- ['google.com', 1]
targets:
- !cache
cache_size: 5000
upstreams:
- !service
address: 192.168.0.1
- !log
resolver:
!cache
cache_size: 500
upstreams:
- !service
address: 8.8.8.8
- !service
address: 8.8.4.4
log: addresses.log
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 Distribution
dispatching-dns-0.0.4.tar.gz
(3.7 kB
view details)
File details
Details for the file dispatching-dns-0.0.4.tar.gz
.
File metadata
- Download URL: dispatching-dns-0.0.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
777c0ddedb112be47f4c73d7af0951aec0b4aaf9ed7251bc5644457f287cd01d
|
|
MD5 |
24e47e3feaa1576575c20cf0c7783191
|
|
BLAKE2b-256 |
19fccb4687c71c7d5987271889edf0e844dc432c0ee7a1c93ef298f9e679fd44
|