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.8.tar.gz
(3.8 kB
view details)
File details
Details for the file dispatching-dns-0.0.8.tar.gz
.
File metadata
- Download URL: dispatching-dns-0.0.8.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
af274b6073f268ce130666dc507ebc578850ed9f92ddd360a733c690d583bcd1
|
|
MD5 |
5c2d6da0f8d5a6b82181a1f0163e25b3
|
|
BLAKE2b-256 |
4187ecb59d359d79b1453fce5e7614076578abe034a51ea39891604b7249d932
|