Adguardhome: friendly names don't work anymore

Created on 22 May 2020  路  11Comments  路  Source: AdguardTeam/AdGuardHome

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [x] I am running the latest version (v0.102.0, Docker)
  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

Issue Details

  • Version of AdGuard Home server:
    v0.102.0, Docker

  • How did you setup DNS configuration:
    irrelevant

  • Operating system and version:
    Docker on Ubuntu Server 19.10
    /etc/hosts file is configured properly (using extra_hosts key of the docker-compose.yml)

Expected Behavior

"Top Clients" box on the landing page should show the "Friendly names" instead of just IPs.

Actual Behavior

"Top Clients" shows IPs only (since the last update)

Medium bug

Most helpful comment

Thank you! So this is a duplicate of #1686.
Tabs are not supported in the latest release - we already fixed this issue and it will be available in the next version.

All 11 comments

You'd like to get the names from /etc/hosts, right?

Yes, as described here: https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#friendly-names

When I add extra_hosts list in my docker-compose.yml they get added to /etc/hosts file in the container (I confirmed that that file is populated correctly in the container).

It worked before and stopped yesterday when I updated to the latest version.

Got it, thank you!

Alternatively, you can use "Clients" section.

@ameshkov thanks that works fine.
I will use that instead :-)

I think it's a duplicate of #1686
Probably there are tab characters in your /etc/hosts file

@szolin I have not edited the /etc/hosts manually.
But I checked just now and there are no tab characters, only spaces.

Do you see the clients names in Client settings, section Clients (runtime) ?

No, the bottom table is empty.

Please attach your hosts file (a few lines will suffice, but don't change the whitespace) and debug logs while restarting the server.

enable debug logs:

  1. Configure AdGuard Home to collect logs:

    • Specify log_file

    • Set verbose to True

  2. Restart AdGuard Home and reproduce the issue
  3. Post the log file here.

@szolin thanks for your help.

Note: When I restarted AGH I now do have tabs in this hosts file (previously there were just spaces).

Thank you! So this is a duplicate of #1686.
Tabs are not supported in the latest release - we already fixed this issue and it will be available in the next version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ameshkov picture ameshkov  路  3Comments

hl2guide picture hl2guide  路  3Comments

ameshkov picture ameshkov  路  3Comments

Iconology picture Iconology  路  3Comments

AnthonyBe picture AnthonyBe  路  3Comments