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.7.tar.gz
(3.8 kB
view details)
File details
Details for the file dispatching-dns-0.0.7.tar.gz
.
File metadata
- Download URL: dispatching-dns-0.0.7.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b39f30812e83ddb8ce5ef1b96a6be46129570b733e0f3f366d1d5278939e0199
|
|
MD5 |
80256c8ae71c9aa7c6fecaf0f9c64a8d
|
|
BLAKE2b-256 |
08fda9e8125d1964619ed96c1e6f392caabc326329e5a0ec085de22d074b458e
|