RE: [PHP] Re: Need Help With gethostbyname()

2003-09-17 Thread Jennifer Goodie
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

Re: [PHP] Re: Need Help With gethostbyname()

2003-09-17 Thread DvDmanDT
Ok, I was wrong about top level stuff... My point was that you don't register every box at like register.com, you only register secondlevel.. Register.com only checks second level (I guess), while php queries the name on some dns server, which gives php another dns server and so on, until it finds

Re: [PHP] Re: Need Help With gethostbyname()

2003-09-17 Thread Evan Nemerson
BIND9 isn't the only game in town... Here's something from bugtraq Worth noting (although a bit OT for php-general) that versign mananged to introduce a nice little XSS w/ this- see full-disclosure list for details -Evan -- Forwarded Message -- Subject: Re: Verisign

Re: [PHP] Re: Need Help With gethostbyname()

2003-09-17 Thread Curt Zirzow
* Thus wrote Jennifer Goodie ([EMAIL PROTECTED]): 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