Subject: Re: NetBSD vs. idiot hotel wireless
To: Steven M. Bellovin <>
From: Chuck Swiger <>
List: netbsd-users
Date: 03/15/2005 23:51:31
Steven M. Bellovin wrote:
> The hotel I'm staying at has a new and stupider-than-usual setup:  its 
> DNS intercept mechanism replies from a different IP address *and port 
> number* than the one to which NetBSD sent a query.

Interesting-- was it a multicast address (224.0.0.XXX) and port 5353?  If so, 
that is multicast DNS, or mDNS, used by Zeroconf and Rendezvous mainly on 
Windows and the Mac.

> I could probably have hacked the resolver library, but I'd had a bit too
> much ethanol at dinner to want to do that.

Better living through chemistry.
Life is too short to stay entirely sober.  :-)

> Is there any configuration or resolv.conf setting I could have used?  I had
> to reboot to our favorite insecure operating system, just to get past the
> nonsense, before I could use the Internet.  This didn't amuse me...

Hmph.  Your best bet would have been to point to a remote proxy you know about 
by IP address.  Otherwise, I believe Apple has mDNS code on their Darwin site, 
and a quick look around also suggests:

"mdnsd is a very lightweight, simple, portable, and easy to integrate open
source implementation of Multicast DNS (part of Zeroconf, also called
Rendezvous by Apple) for developers. It supports both acting as a Query and
a Responder, allowing any software to participate fully on the


  -- Dan Pelleg"