Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tabVersion/DNSRelay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

19 Commits

Repository files navigation

dnsrelay

implementation of DNS relay

functions:

  1. forwarding
  2. blocking
  3. cache

first the program reads a list of cache urls from file url ip-address
when comes a request, it will check whether the requested url is in cache

  • if so it will check whether the ip-address is 0.0.0.0
    • if so, the request will be block
    • else return the cached ip-address
  • otherwise, it will forward the request to remote server 8.8.8.8 (default)

(optional)
--remoteDNS (ip address of remote DNS)
--dnsListPath (path of cache file format needed (plz see dns-local.txt)

About

computer network design

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /