Skip to content

Commit

Permalink
Fix documentation, remove RubyDNS::Server and replace with Async::DNS…
Browse files Browse the repository at this point in the history
…::Server.
  • Loading branch information
ioquatix committed Apr 18, 2017
1 parent 4c5796e commit ff7ee2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -70,10 +70,10 @@ On some platforms (e.g. Mac OS X) the number of file descriptors is relatively l

### Custom servers

It is possible to create and integrate your own custom servers.
It is possible to create and integrate your own custom servers, however this functionality has now moved to [`Async::DNS::Server`](https://github.com/socketry/async-dns).

```ruby
class MyServer < RubyDNS::Server
class MyServer < Async::DNS::Server
def process(name, resource_class, transaction)
transaction.fail!(:NXDomain)
end
Expand Down

0 comments on commit ff7ee2d

Please sign in to comment.