PHP, gethostbyname returns own ip adress

If it doesn't fit in another category, ask it here.
Post Reply
humw
Posts: 1
Joined: 2006/06/18 16:44:43

PHP, gethostbyname returns own ip adress

Post by humw » 2006/06/18 17:31:14

Hi all,

I have something weird going on when I lookup a non-existing domain name with php using gethostbyname. I get my own ip address when I do this.
I've tried googling for or a solution, but I haven't found one. I have found that it has something to do with dns configuration, but I can't find what the exact problem is.
Does anyone of you guys know how it can be caused and how it can be fixed?

Many thanks,

humw

Post Reply

Return to “CentOS 4 - Miscellaneous Questions”