Re: Re: Need Help With gethostbyname()

From: Date: Thu, 18 Sep 2003 01:04:31 +0000
Subject: Re: Re: Need Help With gethostbyname()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-162945@lists.php.net to get a copy of this message
* Thus wrote Jennifer Goodie (goodie@apollointeractive.com): > > > I have a section of my script where I call gethostbyname($hostname) . > > > For some host names that are not registered (according to register.com) > > > I am still getting an IP address returned? > > > > > > What is happening? > > > Well, try only the toplevel domain... For example, I have like > > hns345667dsvdtrt34.telia.com, I doubt that is registred, but > > telia.com sure > > is... I hope.. :S > > > To answer the original question, verisign has decided it is a good idea to > wildcard the .com and .net TLDs to point to > http://sitefinder.verisign.com, > so if you do a look up on a non-existant domain in those TDLs it will now > give an IP. I believe a BIND patch has already been released to negate this > change. hmm.. that explains quite a bit. I was wondering how opera got there on a lookup that should have been bad. Time to block that IP now.. geesh. I dont want to be going to that site if the lookup fails. Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#162945) next »