From: Yves-Eric Date: 2009-03-01T12:33:57+09:00 Subject: Re: DNS MX lookup issue: local machine returned as MX for an non-existant domain! On Feb 23, 8:01 pm, Iņaki Baz Castillo wrote: > So you confirm that  "nslookup -q=mx i-dont-exist-iutjdfuyoxfugy.com" > also returns your local hostname? > If so, then it's not a bug in Ruby Resolv::DNSbut in yourDNSclient > configuration in your server. No, you misread my message:, "nslookup -q=mx i-dont-exist- iutjdfuyoxfugy.com" returns **NXDOMAIN**, which means "Non-Existent Domain". This is as expected since the given domain does not exist. So, the DNS configuration on the server seems to be fine, and the problem seems to be with Resolv::DNS. Note the use of "seems"... Still no clue what the cause of the problem could be (^_^;)