LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dns time warner redirect in Firefox (https://www.linuxquestions.org/questions/linux-newbie-8/dns-time-warner-redirect-in-firefox-4175505897/)

od13 05-23-2014 12:19 PM

dns time warner redirect in Firefox
 
I am using Luna OS Elementary. Its pretty cool. I am using the latest version of Mozilla firefox. If I misspell something in the address bar I get redirect it to Time warner search, which I promptly close and start all over again. I found instructions on how to disable the time warner redirect for a windows system, but can't find anything for Linux. I have spent hours searching the internet for an answer. Can anyone help? Please

jdkaye 05-23-2014 12:43 PM

I'm not sure what you want to do. Do you want to redirect misspellings to an different search engine? Or do you not want any redirection at all?
And why do you have to close anything at all? If you make a mistake in the navigation window then simply type the correct form over the mistake. Please try and make clear exactly what you're trying to do.
jdk

dijetlo 05-23-2014 12:51 PM

Hey Odie,

You probably just need to set your default search engine for firefox. If you have a search box next to your address bar, look for a down arrow in the box. Click it and you'll see the default options for search engines, choose one.

TB0ne 05-23-2014 01:53 PM

Quote:

Originally Posted by od13
I am using Luna OS Elementary. Its pretty cool. I am using the latest version of Mozilla firefox. If I misspell something in the address bar I get redirect it to Time warner search, which I promptly close and start all over again. I found instructions on how to disable the time warner redirect for a windows system, but can't find anything for Linux. I have spent hours searching the internet for an answer. Can anyone help?

First, there is NO REASON to close your browser when you don't get the right website. Click in the address bar, and enter another address. What you're doing is akin to exiting your word-processor when you misspell a word.

The easiest way to get around this is to add these two lines:
Code:

nameserver 8.8.8.8
nameserver 8.8.4.4

...into the /etc/resolv.conf file. Those are Google's public DNS servers, which won't redirect you. That said, you will still have the same 'problem' when you misspell a website name...in that it won't come up or go to the wrong location.
Quote:

Originally Posted by dijetlo (Post 5175911)
Hey Odie,
You probably just need to set your default search engine for firefox. If you have a search box next to your address bar, look for a down arrow in the box. Click it and you'll see the default options for search engines, choose one.

Sorry, that won't do anything for this problem. Time Warner (and other cable ISP's), routinely re-direct people to their site, in the event of a DNS lookup failure (such as a misspelled/nonexistent website). That's because they are providing the DNS services. You can opt-out, but it is a painful process.

ondoho 05-23-2014 02:09 PM

for what it's worth...
this sounds a little like some malware a friend of mine caught on her windoze computers firefox - all searches get redirected to some obscure bs website, something like that.
just trying to help clarify things but i might be wrong of course.

TB0ne 05-23-2014 02:14 PM

Quote:

Originally Posted by ondoho (Post 5175943)
for what it's worth...
this sounds a little like some malware a friend of mine caught on her windoze computers firefox - all searches get redirected to some obscure bs website, something like that.
just trying to help clarify things.

I don't think that's the case here; Time Warner (and Brighthouse, too), provide 'their' DNS services. This is a fairly widely-reported issue, with no malware involved:
http://en.wikipedia.org/wiki/DNS_hij...lation_by_ISPs

It happened on my openSUSE box, and when I changed the resolv.conf and used Google's DNS servers, the problem vanished. Same for my wifes Windows laptop, and her iPad (after giving it a static address, and configuring things manually).

unSpawn 05-23-2014 02:53 PM

Additionally (and depending on how the redirection is done) there is at least one caching DNS server, Pdnsd, that allows you to deny certain DNS responses.

dijetlo 05-23-2014 03:39 PM

Quote:

Sorry, that won't do anything for this problem.
Thanks for the correction, Tbone. I should have tested it before opening my mouth.

John VV 05-23-2014 04:20 PM

It is not malware
it is the normal Bu11 $hi7 from the ISP
a dns hijack that the ISP is doing

set the above 8.8.8.8 and 8.8.4.4
then set your network manager to get IP address ONLY from dhcp

normally the ip AND the DNS is set BY your isp

jefro 05-23-2014 09:22 PM

Yes, some sort of open dns ip should fix it.

ondoho 05-24-2014 06:38 AM

Quote:

Originally Posted by od13 (Post 5175895)
I found instructions on how to disable the time warner redirect for a windows system, but can't find anything for Linux.

it seems i was wrong, others are right.
i would say the process is the same on a windows or linux computer - maybe you can spot the similarities.

anyhow, others wrote:
Quote:

The easiest way to get around this is to add these two lines:
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
...into the /etc/resolv.conf file. Those are Google's public DNS servers, which won't redirect you.
you will have to open the file with
Code:

sudo gedit /etc/resolv.conf
iirc, this file tends to get overwritten, so if the problem persists, post again.

273 05-24-2014 07:04 AM

Personally, I set my router to use Open DNS so that any clients connecting will pick that up through DHCP. Of course Open DNS have their own redirect page but I don't like the idea of Google registering all the sites I go to as well as my search history (just personal preference though).

Emerson 05-24-2014 10:40 AM

Or just use your own server.

273 05-24-2014 10:44 AM

Quote:

Originally Posted by Emerson (Post 5176372)
Or just use your own server.

I hate to be picky but I don't see how this solves the problem in any way?

Emerson 05-24-2014 10:45 AM

You are in full control, nothing gets redirected.

273 05-24-2014 10:47 AM

Quote:

Originally Posted by Emerson (Post 5176374)
You are in full control, nothing gets redirected.

Ah, sorry, yes you can let things fail differently. My apologies.

Emerson 05-24-2014 10:51 AM

Quote:

Originally Posted by 273 (Post 5176375)
Ah, sorry, yes you can let things fail differently. My apologies.

Well, my latest favorite browser is Chromium. When I type something in address bar and make a typo I still will have a Google search page opened for me, this is a feature of Chrome/Chromium. But I won't be redirected.

273 05-24-2014 10:59 AM

Quote:

Originally Posted by Emerson (Post 5176378)
Well, my latest favorite browser is Chromium. When I type something in address bar and make a typo I still will have a Google search page opened for me, this is a feature of Chrome/Chromium. But I won't be redirected.

I may well be wrong but I think if it "passes the test to look like a URL" then Chrom[e|ium] will attempt to resolve it -- meaning that the DNS provider matters. On the other hand, if the browser doesn't view it as a correct URL it will use the inbuild search to provide "similar results".
That seems to be my experience anyhow.

Emerson 05-24-2014 11:15 AM

Right, since I run my own DNS (not the one my ISP is offering, none of free services offered on the net) I won't be redirected anywhere.

jefro 05-24-2014 03:23 PM

Might as well lob another in.

One could easily put the 50 or so names and IP's into their hosts file and bypass dns for many things. It would still be faster to look up hosts since it does so anyway before it looks to web.

maples 05-26-2014 10:51 PM

Quote:

Originally Posted by jefro (Post 5176482)
Might as well lob another in.

One could easily put the 50 or so names and IP's into their hosts file and bypass dns for many things. It would still be faster to look up hosts since it does so anyway before it looks to web.

How would one go about doing that? Would you still be able to have Google's nameservers as a "last resort" in case the website where you're going isn't in your list?

ondoho 05-27-2014 02:36 AM

it's a simple enough thing (and os independent!).
a quick 1-min web search yielded this:
http://www.howtogeek.com/howto/27350...ur-hosts-file/
probably not the best out there, but should get you started.
you can also search "hosts" or "hostsblock" on archlinux forums.

maples 05-27-2014 07:25 AM

Quote:

Originally Posted by ondoho (Post 5177428)
it's a simple enough thing (and os independent!).
a quick 1-min web search yielded this:
http://www.howtogeek.com/howto/27350...ur-hosts-file/
probably not the best out there, but should get you started.
you can also search "hosts" or "hostsblock" on archlinux forums.

Thanks. I thought it would be in the resolv.conf file, so that's what I was looking for...:banghead:

Emerson 05-27-2014 04:26 PM

If you want to learn about this, start with nsswitch.conf.

od13 05-30-2014 04:30 AM

Thank you for all your replies. However, let me clarify
I am not closing the browser, just the window that gets me to the time warner DNS.
What I want to do is prevent Time warner from hijacking my browser. I do not have access to the router. It is kept by the landlord.
I appreciate the help, and I am not being sarcastic, just trying to understand how to get this done. I appreciate the adding the lines, but I need a step by step on how to do that-what file? where do I find the file? How do I save it? How do I close it?
Unless you have had a work injury it is very unlikely that you will understand the following, but it is a correct answer to a question. "We decided to C&R the whole thing based on the AME, and it was quickly signed by the WCJ". If I do not explain all the items in the sentence in detail you can not get it, barring previous experience with work injury. I know a little about computers, but not enough to just read a code and know where it goes or how to get it there. Thank you to all who answer. I do not know if what was stated will work, because I do not know how to perform the task. Thank you ahead of time for your patience and your more detail explanation on how to do it. OD13

TB0ne 05-30-2014 08:48 AM

Quote:

Originally Posted by od13 (Post 5179241)
Thank you for all your replies. However, let me clarify
I am not closing the browser, just the window that gets me to the time warner DNS.
What I want to do is prevent Time warner from hijacking my browser. I do not have access to the router. It is kept by the landlord.
I appreciate the help, and I am not being sarcastic, just trying to understand how to get this done. I appreciate the adding the lines, but I need a step by step on how to do that-what file? where do I find the file? How do I save it? How do I close it?
Unless you have had a work injury it is very unlikely that you will understand the following, but it is a correct answer to a question. "We decided to C&R the whole thing based on the AME, and it was quickly signed by the WCJ". If I do not explain all the items in the sentence in detail you can not get it, barring previous experience with work injury. I know a little about computers, but not enough to just read a code and know where it goes or how to get it there. Thank you to all who answer. I do not know if what was stated will work, because I do not know how to perform the task. Thank you ahead of time for your patience and your more detail explanation on how to do it. OD13

Please go back and re-read post #4, where I told you EXACTLY what to add, and to what file. Again:
  • Open /etc/resolv.conf in whatever editor you choose. Feel free to type in "sudo gedit /etc/resolv.conf", which will probably bring the file up into an editor.
  • Add the two lines given to you in post #4
  • Save the file, exit the editor
  • You're done.
Again, this is what happens to ANYONE who uses Brighthouse or Time Warner. Adding those lines causes your system to use the public DNS servers, and sidesteps the 'issue' you're having (which is REALLY nothing more than a minor annoyance, which you can fix by clicking the BACK button on your browser). There is even a how-to guide for Luna, with pictures and instructions:
http://eos-snippets.blogspot.com/201...ublic-dns.html

od13 05-30-2014 11:15 AM

Dear TBOne:

Thank you for your second reply. I guess I read your first one too quickly. I guess I will live with Open DNS, but to me that is giving permission to someone because I am being force by Time Warner to do that. I would like to eliminate Time Warner all together. I rather get a 404 error. What you call a minor inconvenience I call a major violation of my privacy and of my freedom to have my browser behave in the way I want to. America is my country of choice. I left a very control system to become an American, and have seen an errosion of our freedoms in the last 20 years, that seriously worries me, even though I will probably be dead before it all comes to fruition, but having lived in an oppressive goverment system I can tell you that America is heading in that direction, and it will happen becasue most Americans think-"It will never happen here". Freedom is not free. Anyway, whatver I can do to prevent big conglomerates, and government from knowing about me, I will.
Thank you for your advice, it did not work. The terminal asks me for a password but lets me type none. However, the Luna post did work. One more thing-How do I add to your reputation? I see the little green bar and I kept clicking on it but nothing happen, and I do not see anything that specifically states-"Add to reputation". Sorry for my political diatribe but I am seeing our country become the country I left. Be bless with joy and health. Thank you to you and to all the Linux community. Peace. OD13

TB0ne 05-30-2014 11:53 AM

Quote:

Originally Posted by od13 (Post 5179417)
Dear TBOne:
Thank you for your second reply. I guess I read your first one too quickly. I guess I will live with Open DNS, but to me that is giving permission to someone because I am being force by Time Warner to do that. I would like to eliminate Time Warner all together. I rather get a 404 error. What you call a minor inconvenience I call a major violation of my privacy and of my freedom to have my browser behave in the way I want to. America is my country of choice. I left a very control system to become an American, and have seen an errosion of our freedoms in the last 20 years, that seriously worries me, even though I will probably be dead before it all comes to fruition, but having lived in an oppressive goverment system I can tell you that America is heading in that direction, and it will happen becasue most Americans think-"It will never happen here". Freedom is not free. Anyway, whatver I can do to prevent big conglomerates, and government from knowing about me, I will.

OpenDNS and/or Google's DNS will give you the 404 error you seem to want, follow the instructions provided twice now, and enjoy. No matter WHICH DNS server you use, it doesn't matter; your ISP knows which sites you visit, like it or not...that's a reality of having to manage a large network. Doing a DNS redirect to (essentially) give you a DIFFERENT 404 page is nothing sinister. Don't want it? Then feel free to change it. No one is 'violating your privacy' by giving you a different 404 result.
Quote:

Thank you for your advice, it did not work. The terminal asks me for a password but lets me type none. However, the Luna post did work. One more thing-How do I add to your reputation? I see the little green bar and I kept clicking on it but nothing happen, and I do not see anything that specifically states-"Add to reputation". Sorry for my political diatribe but I am seeing our country become the country I left. Be bless with joy and health. Thank you to you and to all the Linux community. Peace. OD13
The password won't show up when you type it.

273 05-30-2014 11:59 AM

I think OpenDNS actually redirects to their own "custom search page"? Certainly whomever it is I am using at home does that and I think it's OpenDNS. I've only got Google's as my third and fourth to try so can't comment upon them until I return home and play with my configuration.

od13 05-30-2014 01:22 PM

Thank you again TBOne. I keep pressing that green bar. But here. I am very thankful for your instructions and your patience. The best thing of Linux is the community and the willingness to help. Thank you, again TBOne. OD13. Over and out.

Emerson 05-30-2014 06:08 PM

To make sure your /etc/resolv.conf will not be overwritten by DHCP client edit it's configuration file and remove nameserver request. For instance, if your DHCP client configuration file is /etc/dhcp/dhclient.conf remove domain-name-servers from requests.

ondoho 05-31-2014 01:10 AM

Quote:

Originally Posted by od13 (Post 5179417)
I left a very control system to become an American, and have seen an errosion of our freedoms in the last 20 years, that seriously worries me, even though I will probably be dead before it all comes to fruition, but having lived in an oppressive goverment system I can tell you that America is heading in that direction, and it will happen becasue most Americans think-"It will never happen here".

i agree wholeheartedly.
sometimes i think:
yeah, that energy has to go somewhere now we can't push it behind the iron curtain anymore.


All times are GMT -5. The time now is 12:09 PM.