Newbie I need to redirect "denon.vtuner.com" to "vtuner.b0.dk"

Hi
I'm a complete newbie so help is needed :grinning:
my Denon music centre internet radio no longer works, apparently I can redirect the address "denon.vtuner.com" to a new server that emulates it at "vtuner.b0.dk".
for info if you go to "b0.dk" there is a page that explains this, and it is a well known issue with Denon, Yamaha, Onkyo, Grundig and possibly others

I am using Putty on a windows machine and have tried to modify /ect/dnsmasq.conf but the Denon still goes to "denon.vtuner.com" and does not work.
so a bit of hand holding help please
copy of cat /etc/dnsmasq.conf:

login as: root
root@192.168.1.100's password:


BusyBox v1.35.0 (2022-10-14 22:44:41 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 22.03.2, r19803-9a599fee93
 -----------------------------------------------------
root@OpenWrt:~# cat /etc/dnsmasq.conf
# Change the following lines if you want dnsmasq to serve SRV
# records.
# You may add multiple srv-host lines.
# The fields are <name>,<target>,<port>,<priority>,<weight>

# A SRV record sending LDAP for the example.com domain to
# ldapserver.example.com port 289
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389

# Two SRV records for LDAP, each with different priorities
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2

# A SRV record indicating that there is no LDAP server for the domain
# example.com
#srv-host=_ldap._tcp.example.com

# The following line shows how to make dnsmasq serve an arbitrary PTR
# record. This is useful for DNS-SD.
# The fields are <name>,<target>
#ptr-record=_http._tcp.dns-sd-services,"New Employee Page._http._tcp.dns-sd-serv                                           ices"

# Change the following lines to enable dnsmasq to serve TXT records.
# These are used for things like SPF and zeroconf.
# The fields are <name>,<text>,<text>...

#Example SPF.
#txt-record=example.com,"v=spf1 a -all"

#Example zeroconf
#txt-record=_http._tcp.example.com,name=value,paper=A4

# Provide an alias for a "local" DNS name. Note that this _only_ works
# for targets which are names from DHCP or /etc/hosts. Give host
# "bert" another name, bertrand
# The fields are <cname>,<target>
#cname=bertand,bert

address=/denon.vtuner.com/vtuner.bo.dk
address=/denon2.vtuner.com/vtuner.bo.dk

bo, or b0 (char vs digit) ?

text says one thing, conf something else.

hi thanks for that I have changed them to "0" digit, (must cut n paste in future) but the denon still bypass's "vtuner.bo.dk" and goes to "denon.vtuner.com"

restarted dnsmasq ?

if you ping denon. & denon2.vtuner.com and vtuner.b0.dk from a client, what IPs are you getting ?

not sure address= can be used for remapping FQDNs.

I think you could synthesize a CNAME instead of using --address. Not tested.

hi al
spent a little more time with it today and voila it works. many thanks to all who replied / helped. The trick was use cname

root@OpenWrt:~# cat /etc/dnsmasq.conf
# Change the following lines if you want dnsmasq to serve SRV
# records.
# You may add multiple srv-host lines.
# The fields are <name>,<target>,<port>,<priority>,<weight>

# A SRV record sending LDAP for the example.com domain to
# ldapserver.example.com port 289
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389

# Two SRV records for LDAP, each with different priorities
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2

# A SRV record indicating that there is no LDAP server for the domain
# example.com
#srv-host=_ldap._tcp.example.com

# The following line shows how to make dnsmasq serve an arbitrary PTR
# record. This is useful for DNS-SD.
# The fields are <name>,<target>
#ptr-record=_http._tcp.dns-sd-services,"New Employee Page._http._tcp.dns-sd-services"

# Change the following lines to enable dnsmasq to serve TXT records.
# These are used for things like SPF and zeroconf.
# The fields are <name>,<text>,<text>...

#Example SPF.
#txt-record=example.com,"v=spf1 a -all"

#Example zeroconf
#txt-record=_http._tcp.example.com,name=value,paper=A4

# Provide an alias for a "local" DNS name. Note that this _only_ works
# for targets which are names from DHCP or /etc/hosts. Give host
# "bert" another name, bertrand
# The fields are <cname>,<target>
#cname=bertand,bert

cname=denon.vtuner.com,vtuner.b0.dk
cname=denon2.vtuner.com,vtuner.b0.dk

root@OpenWrt:~#

thanks again and a merry Christmas (if you celebrate it.)

1 Like