LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-14-2004, 01:50 PM   #1
sornman
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
lynx, curl, fopen bringing up a site when DNS not found?


I have a problem I hope ya'll can help me with. The machines having issues are running various versions of Redhat, from 7.3 to 9.0.

When writing a script in PHP, I came across a weird issue when attempting to check the status of a few sites. If the domain is registered, but not in the nameservers specified by the whois information, my browser gives a "domain could not be found" error. However, on a couple of my servers, when I use lynx, curl, or fopen (php), I end up being directed to another one of my servers' IP addresses and it beings up the site for it.

After looking around trying to find anything on this, I am out of ideas. Maybe a DNS issue with our servers? I have changed the resolv.conf on a server to use different dns servers, issue still persists.

Entries in the 'hosts' file causing the issue? Already tried removing everything from the hosts file to see if it was causing issues, but no luck there.

If anyone has any other ideas to try, please let me know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS resolves quickly but lynx extremely slow yichun Debian 2 07-01-2004 09:08 PM
Contacting DNS with Lynx/YUM morgan_an Linux - Networking 0 04-08-2004 07:13 PM
Im using lynx to post, lost in the void of my new install, no screens found? Optyx Linux - Newbie 3 03-04-2004 01:22 PM
Mandrake 9.2 Radeon 9200 (im using lynx to post) no screen found? Optyx Mandriva 1 03-04-2004 01:09 PM
Curl: How to add remote site to a certificate? mikeshn Programming 0 12-15-2003 07:14 PM


All times are GMT -5. The time now is 04:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration