Is there any way to redirect set URL’s locally on a network?

July 31st, 2016

The closest thing i’ve been able to find is OpenDNS, but that won’t quiet work for me because it only redirects certain keywords. I just need it so that I can set certain URLs (such as http://www.yahoo.com) to be redirected to a URL of my own when it’s requested on my network. Everything from google that i’ve gotten has basically pointed towards DNS, but i really don’t know where to start. Could someone please point me in the general direction or help me out a little bit? Haha, i’m no good with networking. Thanks much.
Please remember that ALL links must be coded, including, but not limited to, e-mail addresses, passwords, and internal links. Coded for you this time
Image

Answer #1
You need to host your own DNS server/forwarder. Wont be that hard. Google on how to host DNS
Answer #2
Thank you
There’s a lot of options. What do you suggest for windows? And i’d rather not have to reformat my computer for this, so lets eliminate Windows server. <_<
Answer #3
There’s stuff like Zero Calorie DNS and Simple DNS Plus. I think they’re on this site. Try searching
edit:
Here you go
http://www.google.com?t=2091738
After you host your DNS make sure to setup your DHCP server to set DNS to your PCs LAN IP address
Answer #4
You might be able to set something on your router, or you could change the host file manually on each pc
Answer #5
After you host your DNS make sure to setup your DHCP server to set DNS to your PCs LAN IP address
Hm, i’m not sure how exactly this’ll work? If the DNS server is on my computer, and my computer makes a request for “yahoo.com” (just an example), i can make it redirect to whatever i’d like? But that’ll also work for all of the computers on my network?
Answer #6
Your computer will act as the DNS server. Whatever rules you specify in that app will go to all PCs that use your IP as the DNS. To make that happen you need to change the DHCP settings so that your IP becomes the DNS server for the network.
Answer #7

#da wrote: Select all

Your computer will act as the DNS server. Whatever rules you specify in that app will go to all PCs that use your IP as the DNS. To make that happen you need to change the DHCP settings so that your IP becomes the DNS server for the network.
If i set the PCs to use my IP as their DNS, will they still have access to the internet?
And i’m in an unusual situation, too..
My laptop gets it’s internet wirelessly. It’s using a CAT5 crossover ethernet cable that is bridged to my other adaptor, so that my other computer that’s hooked into the laptop has internet access too. Being that the network bridge forces the two computers to “share” an IP, and one of the computers is the DNS server itself, will there be issues? Thanks so much for the help, btw. I’d be lost without this information.
Answer #8
Ah that’s a tough one then. Don’t you have a router? If not then it might be worthwhile to invest in one.
Answer #9
Lol. My network is very complicated.
I’m “borrowing” wireless from a guy two streets down. However, i do have a router. My router is a Linksys flashed with DDWRT that is bridged to the neighbors router, then repeating the signal throughout my house. So yes, I do have a router. But the situation i’m in absolutely requires the second computer to be bridged to this one so that i can watch the traffic going in and out of it. Assuming I had a regular network configuration, would the computer that uses my computer as it’s DNS still be able to access the internet?
Answer #10
Tell me how the IP addresses are currently assigned in your network
Answer #11
There’s 3 devices connected at pretty much all times. Two laptops, and the “second computer” I was talking about earlier.
My first laptop’s ip is “192.168.66.107”.
The second laptop and second computer share the “192.168.66.110” IP.
The router that the above devices connect to, is connected to another router via the IP “192.168.1.46”
I also have a PSP that connects via 192.168.66.105 occasionally.
Answer #12
Ah it’s only 3 computers then. I thought it was a bigger network
The ‘second computer’ got 192.168.66.110 or some other IP like 192.168.0.2 ?
For ICS to work Windows demands the 192.168.0.1 for the host PC and it gives the shared PCs the next IPs via DHCP. Doesn’t matter what other PCs see only the one sharing the connection will have 192168.66.110 and the one being shared will have something else in it’s own subnet. So yes a DNS server is possible. Install the DNS server in the 192.168.66.110. Point the DNS of the the first laptop to that. Point the “second computer’s” DNS to the IP of the second laptop which it’s getting it’s internet from in the smaller subnet. Not 192.168.66.110 but it’ll be something else I bet. Go to that “second computer” and see the Default Gateway
Answer #13
Okay, thanks a lot. I’ll give it a try this evening, I can’t do that here
I’ll let you know how it turns out. I’m sure i’ll have problems with the DNS forwarding part, too..Once i get the DNS set up. Lol and you still haven’t confirmed that I’ll have internet on the systems that use my DNS server for their IP? That’s my biggest worry at this moment.
Answer #14
Lol and you still haven't confirmed that I'll have internet on the systems that use my DNS server for their IP? That's my biggest worry at this moment.It’s not that big of a deal. If it doesn’t work just put it back the way it was.
Answer #15
with 3 computers that you control the hosts file might be an easier option
C:\WINDOWS\system32\drivers\etc\hosts
http://koffix.com/research/glossary/hosts-file.html
Answer #16
Well i know i could put it back the way it was, just the thing is that URL redirection would be pointless if the internet doesn’t work.
EDIT:
with 3 computers that you control the hosts file might be an easier option
C:\WINDOWS\system32\drivers\etc\hosts
http://koffix.com/research/glossary/hosts-file.html

Sorry i overlooked this. It wouldn’t work for my second computer, because it’s an irregular OS that i don’t have access to the hosts file.
Answer #17
Okay, well, this isn’t working out very great :/
RaidenDNSD is worthless, there’s no URL redirection and it doesn’t want to work at all.
SimpleDNS works, and recognises my computers, and my computers can run through it just fine. However, URL redirection does not want to work at all. Is there any other programs?
Gah, and i cant even find a download for zero calorie DNS server.
Answer #18
SimpleDNS works, and recognises my computers, and my computers can run through it just fine. However, URL redirection does not want to work at all. Is there any other programs?
You must have overlooked some function. I know it’s very possible to override DNS for specific hosts
Answer #19
You must have overlooked some function. I know it's very possible to override DNS for specific hosts
You’re probably right. I read through the DNS wikipedia to understand better what i’m working with, but I still haven’t quiet grasped how it fully works. Here’s SimpleDNS’s DNS forwarding page:
http://www.simpledns.com/help/v50/index.html?df_forward.htm
Is there a difference between DNS forwarding and DNS redirect? Also, i’m attempting to redirect the URL “http://www.yahoo.com/” to the URL “http://www.red.com/” currently as a test. Red.com’s IP is 67.192.42.156. When setting up DNS redirection, the only options SimpleDNS gives you is the “Domain Name” and “Forward to DNS servers”.
Assuming i get this Red.com redirection to work, it still won’t solve the initial problems that i created this topic for, because i can’t redirect to an exact URL, just a website’s base URL. =/
Please remember that ALL links must be coded, including, but not limited to, e-mail addresses, passwords, and internal links. Coded for you this time.
iConquest

Answer #20
Try just yahoo.com instead of http://…~
Assuming i get this Red.com redirection to work, it still won't solve the initial problems that i created this topic for, because i can't redirect to an exact URL, just a website's base URL. =/Yeah well that’s not really possible with DNS. Then you’d need to setup a proxy server and use some web filtering software.
Answer #21
x_x So there’s no hope with a DNS redirect? Gah.
Being that my second computer is bridged through my laptop, is there any firewalls that can redirect HTTP? I can do without the other laptop having the redirect.
Since your post, I’ve looked into Windows ISA server (fail.), Four Calorie DNS (no redirection), and a HTTP Redirect plugin for Smart DNS. The HTTP plugin looks like it would do exactly what i need, but for some freaking reason Smart DNS won’t recognize that the plug in is there. All the other plugins work just fine.
Answer #22
Bump. :/
If I set up a 4th computer with Windows Server 2003, could I use IIS to redirect HTTP?