This page describes how to setup a Raspberry Pi to act as a DNS server to manipulate the entries for VTuner.
Reason: my Yamaha AV receiver has stopped working with VTuner. Also the menu was too long and slowly for me.


There are many pages on the web which describing how to setup a Raspberry basic system, So I will not cover that.

First write down your local network:
Yamaha AV receiver192.168.0.123255.255.255.0Default Gateway: 192.168.0.1set DNS server to 192.168.0.130 (the IP of the Raspberry Pi!)
Raspberry Pi192.168.0.130255.255.255.0Default Gateway: 192.168.0.1set DNS server to your Default Gateway which hopefully act as DNS server (like Fritzboxes do)
Best thing is to configure the devices with static IP address configuration. Also keep in mind to run not in any DHCP conflicts.


Install bind and tools: sudo apt-get install bind9 bind9utils dnsutils

Create directory: sudo mkdir /etc/bind/zones

Create file: sudo nano /etc/bind/named.conf.local
content:

// ----------------------- Zones -----------------------
// Forward-Lookup
zone "vtuner.com" {
    type master;
    file "/etc/bind/zones/vtuner.com.zone";
};
Create file: sudo nano /etc/bind/zones/vtuner.com.zone
content:
;;
;; BIND forward data file for zone vtuner.com
;;
$TTL  86400 ; time-to-live - 24 hours could have been written as 24h or 1d
@     IN      SOA         ns1.vtuner.com. emailexample.example.com. (
              2019080801 ; Serial
              604800     ; Refresh
              86400      ; Retry
              2419200    ; Expire
              604800 )   ; Default TTL
              IN            NS           ns1.vtuner.com.   ; nameserver
ns1           IN            A            192.168.0.130
radioyamaha   IN            A            194.59.204.236
radioyamaha2  IN            A            194.59.204.236
Create file: sudo nano /etc/bind/named.conf.options
content:
options {
        directory "/var/cache/bind";
        recursion yes;
        allow-query { 127.0.0.1; 192.168.0.0/24; };
        forwarders {
          // Google Public DNS
          8.8.8.8;
          8.8.4.4;
        };
        dnssec-validation auto;
        auth-nxdomain no;
        listen-on-v6 { any; };
};
//in case off you need to debug uncomment all the lines below
//logging {
//        channel client_file {
//        file "/var/log/querylog" versions 3 size 5m;
//        severity dynamic;
//        print-time yes;
//        };
//        channel query_logging {
//        file "/var/log/querylog"
//        versions 3 size 100M;
//        print-time yes;
//        };
//        category queries {
//        query_logging;
//        };
//};
Check config with: sudo named-checkconf -z
zone vtuner.com/IN: loaded serial 2019080801
zone localhost/IN: loaded serial 2
zone 127.in-addr.arpa/IN: loaded serial 1
zone 0.in-addr.arpa/IN: loaded serial 1
zone 255.in-addr.arpa/IN: loaded serial 1
Restart bind: sudo service bind9 restart

Now check if bind resolves correct radioyamaha.vtuner.com to 194.59.204.236: dig +noall +answer @192.168.0.130 radioyamaha.vtuner.com

radioyamaha.vtuner.com. 86400   IN      A       194.59.204.236
Finally make sure that bind will start after every reboot: sudo update-rc.d bind9 defaults
Create an account at radio.marty44.net and log in.

Turn up your AV receiver and select internet radio. If everything works as expected it will show an entry like:

ID: 1
Press one time the down button and it should show an entry like:
Key: 424009
Back to radio.marty44.net select on the left menu my radios.
Enter the ID and Key. If it matches you will see your radio.

Now select at the left menu my stations and add a stream. Please don't forget the prefix like http:// - example:

You can also move stations up or down so your favorite is always on top:


manufacturerknown working models
YamahaRX-V500D
Other manufacturers might work too with little modifications (find out DNS name, admin of this small website has to add it). If you are interested please send a mail to <EMAIL not shown, please create an account and login to see my email address>.