diff --git a/lib/rubydns/server.rb b/lib/rubydns/server.rb index 4c5d6af..2be78df 100644 --- a/lib/rubydns/server.rb +++ b/lib/rubydns/server.rb @@ -13,14 +13,7 @@ module RubyDNS # Provides the core of the RubyDNS domain-specific language (DSL). It contains a list of rules which are used to match against incoming DNS questions. These rules are used to generate responses which are either DNS resource records or failures. class Server < Async::DNS::Server - # Instantiate a server with a block - # - # server = Server.new do - # match(/server.mydomain.com/, IN::A) do |transaction| - # transaction.respond!("1.2.3.4") - # end - # end - # + # Instantiate a server. To define rules, see {RubyDNS.run}. def initialize(...) super