E2000 Dnsmasq redirection problem

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
Circling Overland
DD-WRT Novice


Joined: 20 Dec 2019
Posts: 6

PostPosted: Wed Mar 31, 2021 21:00    Post subject: E2000 Dnsmasq redirection problem Reply with quote
I'm having trouble getting Dnsmasq to work. I want to redirect the urls below.

I have this in the Additional Dnsmasq Options:

address=/www.vtuner.com/vtuner.b0.dk
address=/radiomarantz.vtuner.com/vtuner.b0.dk
address=/vtuner.com/vtuner.b0.dk

The urls are not being redirected, what am I doing wrong?

I'm running build DD-WRT v3.0-r46069 mini (03/17/21).
Sponsor
d33b0_n4p41m
DD-WRT User


Joined: 10 Sep 2021
Posts: 133

PostPosted: Tue Sep 14, 2021 21:07    Post subject: Reply with quote
As far as I know of, you have to redirect to an IP address, not a FQDN. This may or may not apply to your situation.

https://serverfault.com/questions/412688/default-http-redirection-when-domain-name-requested-with-a-flashed-dd-wrt-route

_________________
An old man said, “Erasers are made for those who make mistakes.” A youth replied, “Erasers are made for those who are willing to correct their mistakes!” Attitude matters! ~ Anonymous
----------
“You are always a student, never a master. You have to keep moving forward.” ~ Conrad Hall
----------
“Life is about moving on, accepting changes and looking forward to what makes you stronger and more complete.” ~ Anonymous
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 8784

PostPosted: Wed Sep 15, 2021 3:23    Post subject: Reply with quote
Technically, those are domain names, NOT urls. And the address directive is used to *resolve* a domain name to an IP address. It's NOT for the purposes of mapping one domain name to another, as you're attempting to do.
_________________
ddwrt-ovpn-split-basic.sh * ddwrt-ovpn-split-advanced.sh * ddwrt-ovpn-kill-switch.sh (new) * ddwrt-ovpn-watchdog.sh (new) * ddwrt-ovpn-remote-access.sh * ddwrt-ovpn-client-backup.sh * ddwrt-mount-usb-drives.sh
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum