test/test_daemon.rb in rubydns-0.5.4 vs test/test_daemon.rb in rubydns-0.6.0
- old
+ new
@@ -39,10 +39,10 @@
RubyDNS::run_server(:listen => SERVER_PORTS) do
match("test.local", IN::A) do |transaction|
transaction.respond!("192.168.1.1")
end
- match(/foo.*/, IN::A) do |match, transaction|
+ match(/foo.*/, IN::A) do |transaction|
transaction.respond!("192.168.1.2")
end
# Default DNS handler
otherwise do |transaction|