Skip to content

Commit

Permalink
Add comment explaining that test response came from a BIND server.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Bennett committed Dec 30, 2014
1 parent 0328be6 commit 7d40dff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/tc_gpos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ class TestGPOS < Minitest::Test
[EXAMPLE_HOSTNAME, Types::GPOS, Classes::IN, EXAMPLE_TTL, rdata.length, rdata, 0]
end

# Returns a GPOS record returned by a BIND server configured with the zone file
# shown at the bottom of this file. I (keithrbennett) was unable to find a GPOS
# record on the public Internet to use for live testing.
def gpos_from_response

# query = Message.new(EXAMPLE_HOSTNAME, 'GPOS')
# query_binary = "E0\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0001a\adnsruby\u0003com\u0000\u0000\e\u0000\u0001"
# response, _error = Resolver.new('127.0.0.1').query_raw(query)
Expand Down

0 comments on commit 7d40dff

Please sign in to comment.