Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Update issue 33:
Browse files Browse the repository at this point in the history
Fix the call to fudge_soa to sort out ordering of contact and nameserver
  • Loading branch information
rip@devco.net committed Dec 1, 2009
1 parent 984e28a commit 49d655b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby-pdns/lib/pdns/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49d655b

Please sign in to comment.