• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 52
  • Last Modified:

DNS lookup issue

I work for a non-profit agency. It has come to my attention that if you put in our website address on a smartphone, it seems to be getting "hijacked" and going to dating and other inappropriate websites.  From a desktop PC, everything seems fine. Our DNS is hosted by Network Solutions.   Any ideas how to correct this?
0
Philsh
Asked:
Philsh
  • 7
  • 5
  • 3
  • +1
3 Solutions
 
Paul MacDonaldDirector, Information SystemsCommented:
How many different phones have you tested?  How many different cell carriers have you tested?  

When you say it works from a desktop, have you tested desktop computers outside your network?

What's the URL?
0
 
Shabarinath RamadasanInfrastructure ArchitectCommented:
Is it just with one smart phone or all clients?
It might be an malware on the smart phone if this issue is only with a specific smart phone.
0
 
CompProbSolvCommented:
I would look at what the cell phones are using for DNS.  There are apps for Android phones and I would expect also for iOS phones.

If it really is only happening on mobile phones, it may not be a DNS issue.  Your web site may have different code for lower resolution (typically phone or tablet) devices.  If your site was compromised, that code may be pushing users to the other sites.  I'd check the web site to see if that got hacked.
0
Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

 
PhilshAuthor Commented:
It happens on many different smartphones - Verizon for sure. Will need to see which provider the other phones are on.  

www.caaofcc.org
0
 
Paul MacDonaldDirector, Information SystemsCommented:
I can duplicate/verify  the problem.  Fascinating.  FWIW, I'm on Sprint.

This is almost certainly (though not definitely) not a DNS problem on your end.
0
 
CompProbSolvCommented:
On my Verizon cell phone (connected to my WiFi and using my local DNS), it appears to go to the correct page, though somewhat different from the one my desktop goes to.  It looks as if it is one that attempted to deal with the lower resolution.

The URL resolves to 208.91.197.27.

I shut off WiFi on my phone and tried the same tests and got the same results.
0
 
CompProbSolvCommented:
@paulmacd: can you confirm the IP address that the URL resolves to?

It is very interesting that I didn't see the same problem.
0
 
PhilshAuthor Commented:
The IP should be 107.180.21.239.
0
 
CompProbSolvCommented:
Please ignore my first post.  I was incorrect.  I left out the "www." and got the results that I did.  It pointed at a "page under construction" at Network Solutions.

When I include "www." I get redirected when on my phone but to the correct site from my desktop, even at 800x600 resolution.  I can't easily set it lower on this computer, but will try on a different one.

The address resolves to 107.180.21.239 in all cases.

While it is not the root of your problem, I'd change your DNS server settings to have "caaofcc.org" point the the same place as "www.caaofcc.org".

I'm still suspicious of something in the web page itself doing the redirection.
0
 
Paul MacDonaldDirector, Information SystemsCommented:
'CAAOFCC.ORG' resolves to 208.91.197.27 on my desktop.

"I'm still suspicious of something in the web page itself doing the redirection."
I'm inclined to think it's something in the web server itself, but it could be something in the page.
0
 
CompProbSolvCommented:
I'm not a web designer so have limited knowledge of the details here.

I'm not aware of how the server itself would distinguish the different clients, though that may just be my ignorance.

How do you think that the server or page is deciding what to display to the different clients?  I could imagine it being based on OS, browser, or screen resolution.

I got the results I described (proper on desktop, improper on phone) with Google and with Chrome on both platforms, and with IE on the desktop.  I presume that a web server or page can distinguish between Google on Android vs. Google on Windows.
0
 
Paul MacDonaldDirector, Information SystemsCommented:
"I'm not aware of how the server itself would distinguish the different clients..."
Browsers (more specifically, browser engines) identify themselves to the server.  

Having tested my cell phone using wi-fi, it lends credence to the theory this is a server-side issue, not a DNS issue.  It appears something on the server or page is redirecting traffic from mobile devices.

Also:  The behavior has stopped now.
0
 
CompProbSolvCommented:
Very interesting!  It is working on my cell phone, too now.

If it is a server issue (vs. a page issue) I would expect (though not certain) that it occurred on other pages that the server hosts.
0
 
PhilshAuthor Commented:
Someone hacked into my hosted account and added a ".htaccess" file that was redirecting only mobile devices.
0
 
Paul MacDonaldDirector, Information SystemsCommented:
That would do it.

Nice job tracking down the fix.
0
 
CompProbSolvCommented:
Sounds good.

Don't forget to fix the DNS setting for the URL without "www.".
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now