Mid-analysis: Major problem with PHP/MySQL and name resolution

"Bryan J. Smith" <[email protected]>
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
Quoting "Bryan J. Smith" <[email protected]>:
> It's almost like something, somewhere in the PHP or MySQL-only setup, it
> requires/resolves to a _specific_ DNS server, by _IP_ address.  Again, I'm
> total perplexed.  Nothing else is having issues -- not resolution, mail, even
> all Apache services and other PHP pages.  Only those PHP pages that
> access the MySQL database -- they can't resolve.  Pretty much everything
> has propogated throughout the Internet with the new NS setup, plus the
> local systems had their resolvers/cache flushed right after I did this (and
> I verified they are using all the new names).
> Any suggestions?  Config files I need to look at?  Any leads will be
> greatly appreciated!  We need to take the old DNS server out of production
> by this weekend.  Thanx.

Thus far, I think we've eliminated PHP from consideration as the problem.

Not sure we're on the right track with the MySQL name resolving being the
issue.  We finally figured out how to view the host cache in MySQL and it was empty.

It could be Apache, but I'm not sure.  I was able to hit sites with the old DNS
down, as long as it didn't use MySQL.

Another detail we looked at was two different pages that opened "localhost" as
their MySQL server.  One still worked with the ns2old named down, but one did
not.  So I'm perplexed.

Maybe I should be looking at my Apache virtual hosts?  We are using IP-based virtual hosts, in 
addition to names.

Thanx again to everyone.

-- Bryan

P.S.  In case it wasn't clear before, this is in a public, production hosting environment.  All IP 
addresses are public with public names.


-- 
Bryan J. Smith, E.I.  mailto:[email protected]  http://thebs.org
CCDA/CCNA CIWSA/MCIWA LPIC2/RHCE MCSA  http://thebs.org/certs.pdf
-----------------------------------------------------------------
     Microsoft(R):  The 'Data Longevity is Optional' Company 
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.