From: Mathew Johnston Date: 2001-10-11T08:58:43+09:00 Subject: [ruby-talk:22410] DNS Lookups - returning more than one A record I'm trying to write a bit of code that checks to ensure that the contents of a Host header in an HTTP request resolves to the same IP as is the destination of the packet which contains the http request. This should be fairly quick, so I only want to do the minimum number of lookups. Is there a DNS library that lets me do something like getrecord(nameOrIP,type,[server]) that would return an array of records returned? Thanks, Mathew Johnston