Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all articles
Browse latest Browse all 1518

DNS Problem LMS Server - Fixed

$
0
0
I installed LMS server 8.03 in an LXC container (Ubuntu Jammy on Jammy host) and it works nicely
Initially I could not play radio stations

Log showed address error ie.
Quote:

Couldn't resolve IP address for: opml.radiotime.com
[22-06-10 01:23:36.0127] Slim::Plugin::InternetRadio::Plugin::_gotRadioErro r (71) Unable to retrieve radio directory from SN: Couldn't resolve IP address for: opml.radiotime.com
[22-06-10 01:28:58.0037] Slim::Utils::Misc::msg (1325) Warning: [01:28:58.0029] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
After much messing about I discovered that the DNS code does not appreciate multiple DNS servers, so I had to change the network definition to generate resolv.conf like this
Code:

nameserver 1.1.1.1
instead of this
Code:

nameserver 1.1.1.1 1.0.0.1
Working nicely now
Hopefully helps others with similar issues (I was unable to find any others with this issue)

PS
Along the way I checked that the key user was able to "ping" successfully with
Quote:

sudo -u squeezeboxserver /bin/ping repos.squeezecommunity.org
though
LMS was still unable to play any radio stations except by direct (numeric) ip address

Viewing all articles
Browse latest Browse all 1518

Trending Articles