AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home/overview.html
GNU General Public License v3.0
25.67k stars 1.84k forks source link

Disable auto hostname assignment for clients that do not advertise one #7394

Open agneevX opened 3 weeks ago

agneevX commented 3 weeks ago

Prerequisites

The problem

With random MAC use, devices do not advertise a hostname to the DHCP server. If the IP of a device is 10.0.0.109, AGH will assign a hostname of 10-0-0-109.lan.

This creates an issue where the hostname of the computer changes to this value and creates issues with applications that use the hostname for device identification namely Tailscale.

Proposed solution

Do not assign hostnames of any kind to devices that do not advertise a hostname.

Alternatives considered and additional information

No response