Question:
DNS redirecting behind a router?
fbradley8
2008-10-02 23:38:08 UTC
Hi, I was wondering if it was possible to redirect to a different site when a site I enter is requested. For example: Someone behind the router at my house goes to www.google.com in the browser. I want them to be redirected to another site, lets say yahoo.com. I've heard this is possible using the router or some sort of proxy system. My router is a Wireless-G Linksys WRT54G. Thanks.

Please don't spam like my last question.
Three answers:
Boberelli
2008-10-03 07:25:02 UTC
If the PC is in your house, just configure the host file with the site you want to redirect.



1) Use Windows explorer on your PC and navigate to your HOSTS file.

# Windows 95/98/Me c:\windows\hosts



# Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts



# Windows XP Home c:\windows\system32\drivers\etc\hosts



2)Right-click on the HOSTS file and select Open. Your PC should ask you which text editor you wish to use. We recommend WordPad or NotePad.

3) Within the HOSTS file, type the IP address, a space, and the domain. You can enter more then one domain per line, separated by a space. Like this:



74.125.45.104 yahoo.com www.yahoo.com



If you wish to test more than one domain, or a subdomain, enter them separately in each row:



65.120.15.65 mydomain.com



65.120.15.65 myotherdomain.com



65.120.15.65 subdomain.mydomain.com



4) Save the file.

5) Close all open browser windows.

6) Reopen your browser and navigate to one of the domains you entered. You should see the site on the new platform and be able to navigate it as if migration had been completed.
tom_gronke
2008-10-03 00:39:23 UTC
Possible, but not simple. In normal operation, a home router gets a list of DNS servers from the internet services provider (ISP). Locally connected home computers send DNS queries to the router, which relays the requests to the ISP DNS servers. You can configure your router to use other DNS servers. To achieve your goal, you must create and manage your own DNS server and hard-code the DNS entries you wish to fake.



By the way, this is a current popular exploit called DNS hijacking. Since most computers have reasonable anti-virus, Trojan Horse protection, and firewall protections, the next likely target is the home router. The popular method is enticing you to click on a link that runs code to connect to your router (using a known default password) and execute the command to change the DNS server entries. A bad guy seeks to re-configure your router to use his bad-guy DNS servers. The bad-guy DNS servers have bogus entries for popular finance sites, in the hope that you will connect to your on-line banking without realizing you are connecting to the bad-guy web server. After collecting your name and password in what appears to be a normally secure site, you're redirected to the actual web site. Later, your account is cleared out. Or in the case of a brokerage account, you become an unwitting participant in a pump-and-dump stock scam.



Your router can be re-programmed with different firmware (see the OpenWRT link below), but I'm unaware of any packages that include a DNS server.



Note that your local user can configure his computer to use his own preferred DNS servers, effectively bypassing your router's DNS capabilities.



The third link below describes a new DNS weakness. It may affect a Linksys router running OpenWRT firmware.
anonymous
2008-10-03 05:02:54 UTC
one day old proxy http://BestSneakySite.INFO



go to www.groups.google.com/group/unblockcityorg for daily lists


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...