Module: Dnsruby
- Defined in:
- lib/mock_dns_server/dnsruby_monkey_patch.rb
Overview
When adding an RR to a Dnsruby::Message, add_answer checks to see if it already occurs, and, if so, does not add it again. We need to disable this behavior so that we can add a SOA record twice for an AXFR response. So we implement add_answer!, similar to add_answer except that it does not do the inclusion check.
Defined Under Namespace
Classes: Message