Solved

DNS lookup issue

Posted on 2016-07-19
16
38 Views
Last Modified: 2016-07-19
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
Comment
Question by:Philsh
  • 7
  • 5
  • 3
  • +1
16 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 41719579
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
 
LVL 14

Expert Comment

by:Shabarinath Ramadasan
ID: 41719586
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
 
LVL 20

Expert Comment

by:CompProbSolv
ID: 41719587
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:Philsh
ID: 41719589
It happens on many different smartphones - Verizon for sure. Will need to see which provider the other phones are on.  

www.caaofcc.org
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 41719599
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
 
LVL 20

Expert Comment

by:CompProbSolv
ID: 41719600
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
 
LVL 20

Expert Comment

by:CompProbSolv
ID: 41719602
@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
 

Author Comment

by:Philsh
ID: 41719614
The IP should be 107.180.21.239.
0
 
LVL 20

Accepted Solution

by:
CompProbSolv earned 250 total points
ID: 41719617
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
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 41719622
'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
 
LVL 20

Expert Comment

by:CompProbSolv
ID: 41719641
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
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 250 total points
ID: 41719662
"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
 
LVL 20

Assisted Solution

by:CompProbSolv
CompProbSolv earned 250 total points
ID: 41719668
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
 

Author Closing Comment

by:Philsh
ID: 41719694
Someone hacked into my hosted account and added a ".htaccess" file that was redirecting only mobile devices.
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 41719707
That would do it.

Nice job tracking down the fix.
0
 
LVL 20

Expert Comment

by:CompProbSolv
ID: 41719720
Sounds good.

Don't forget to fix the DNS setting for the URL without "www.".
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
Resolve DNS query failed errors for Exchange
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question