xhost & dns?

Scott plug-discuss@lists.plug.phoenix.az.us
Mon, 21 Oct 2002 21:08:20 -0700 (MST)


On Mon, 21 Oct 2002, Mike Starke wrote:

> Hmmm, It seems as if 'xhost' needs to do a nameserver query
> before it will report anything? For some reason (probably
> self inflicted) every time I now issue the command 'xhost'
> it hangs for quite a while, then will report the list.
> 
> I have (for the time being) blocked many things at the FW,
> one of which is port 53; therefore, I can see the requests
> getting blocked each time I issue the command. 
> 
> Is there any way around this? I do have a /etc/hosts entry
> for the client, and the client is the only one I added via
> 'xhost +client'. Yet it still wanders off to the nameservers.
> 
> -Mike
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 

you might try looking at your /etc/host.conf file. It tells the system 
where it should look first.  I currently have mine set to look at my local 
/etc/hosts file and then look at DNS if it was not found in the hosts 
file.

scott