TV on LAN using Localhost as the network name

Expected Behaviour:

To allocate network name of 'Bedroom' to Samsung TV.
Using Pihole with unbound and lighttpd on a Dietpi (Rasberry OS) headless server run on a Raspberry Pi Compute 3 module.
The device name on the TV is set to Bedroom and set to network auto connect.
I have another Samsung smart TV which works perfectly.

Actual Behaviour:

Allocates name as localhost despite showing Warning in dnsmasq core:


This shows ...235 hard wired connection
and ...198 wirelss connection
The DNS error shows whichever is connected.

Action Taken

Not neccesarily in this order, but at each option restarted DNS resolver and/or reboot server.

  • Reset TV to factory default
  • Manually Deleted leases and IP's within Pihole
    *Tried both auto and manual Network setting on TV

Note the TV network & smart features work despite the name

Debug Token:

https://tricorder.pi-hole.net/QjhTmYD4/

Can anybody help please

addendum - missed out error message, which get ever few minutes despite the offending device completely powered down

not giving name localhost.lan to the DHCP lease of 192.168.1.198 because the name exists in /etc/hosts with address 127.0.0.1

This is a known misbehaviour of some Samsung TV sets.
Your offending TV is requesting to be given localhost as a name during DHCP lease negotiation.

IIRC, some reported to have been able to overcome this by configuring a name in the TV set that didn't contain any of a list of specific characters. You may want to consult Samsung's support for additional details.

To compensate for that misbehaviour, you may also try to explicitly assign a hostname for the DHCP lease for that specfic device via Pi-hole's DHCP configuration.

Thanks Bucking_Horn Didn't think to search 'Samsung TV local Host' looks like this issue has been unresolved for several years, certainly up to series 8 TV's.

Looking at various post re using Samsung support and my own experience on a different software related issue I didn't waste my time contacting Samsung Support.
Just added the correct hostname name against the MAC address, seemed to do the trick.
Thanks again for your help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.