rubydns
rubydns copied to clipboard
A DSL for building fun, high-performance DNS servers.
Example added for forced Google safe search using DNS.
Since RubyDNS will often bind to privileged port 53, it will be run as root. Ideally it will drop after binding. http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/ ```ruby uid = Etc.getpwnam("nobody").uid Process::Sys.setuid(uid) ``` Pseudocode: ```ruby...
the issue happned on both windows7 and win10, to reproduce the issue: 1. start rubydns 2.run nslookup in the same computer, then the issue happened. I checked the log and...
I've implemented a basic server that matches specific subdomains, following the examples. Nice and easy, it's a lovely library. However, I'm uncertain how to approach unit tests to ensure the...