Skip to content

dgtlmoon/nginx-sqlite-proxypass-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experimental DNS server to act as a proxy_pass resolver for nginx to bounce your requests to depending on SQLite lookup data

Experimental Python based DNS server that lets you use SQLite as a nginx proxy_pass resolver that performs an SQLite query to decide where to resolve/pass proxy_pass the request to.

( Asks a SQLite DB what the real IP for a lookup should be and returns that so proxy_pass can use it )

Based on https://github.com/paulc/dnslib/blob/master/dnslib/fixedresolver.py

docker-compose up

Then

See

Note

Use at own risk, may or may not scale, may or may not rename your dog and set your house on fire.

About

An experimental DNS server to act as a `resolver` for nginx to bounce your requests to depending on the SQLite lookup data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published