Permalink
Browse files

Update issue 33:

Fix the call to fudge_soa to sort out ordering of contact and nameserver
  • Loading branch information...
1 parent 984e28a commit 49d655b895886d444fc5ef493a6c2d58ae30baa4 rip@devco.net committed Dec 1, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 ruby-pdns/lib/pdns/runner.rb
@@ -166,7 +166,7 @@ def handle_seven_param_request(pdnsinput)
# its own SOAs then
# - only if we're asked for SOA or ANY records, else we'll confuse things
if (@resolver.type(request) == :record) && (request[:qtype] == :SOA || request[:qtype] == :ANY)
- ans = answers.fudge_soa(@config.soa_contact, @config.soa_nameserver)
+ ans = answers.fudge_soa(@config.soa_nameserver, @config.soa_contact)
Pdns.debug(ans)
puts ans

0 comments on commit 49d655b

Please sign in to comment.