From 65f101eb48f42c3051053d643caf772a7e79cd54 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 19 Mar 2026 11:23:28 +0100 Subject: [PATCH] doc/dhcp-to-dns: add a note on reverse lookup https://github.com/eworm-de/routeros-scripts/discussions/94 https://github.com/eworm-de/routeros-scripts/issues/104 https://github.com/eworm-de/routeros-scripts/issues/120 ... and possibly more. --- doc/dhcp-to-dns.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/dhcp-to-dns.md b/doc/dhcp-to-dns.md index 3636dfa3..a7e7a680 100644 --- a/doc/dhcp-to-dns.md +++ b/doc/dhcp-to-dns.md @@ -80,6 +80,23 @@ Note this information can be configured in wireless access list with then due to script execution order. Decrease the scheduler interval to reduce the effect. +Frequently asked questions +-------------------------- + +### Is it possible to have the hostname in reverse lookup? + +It used to be like that in the beginning. But there are way too many special +cases... Devices without hostname, devices with same hostname, devices +switching from one network to another, devices with same hostname in +different network, ... + +Fixing one broke another. It never really worked without problems. So +finally the code ended with what we have now. + +I know about that side effect and limitation with reverse lookup, but +there's really no (easy) way to get that right without mac address. The +reverse lookup will always give a name based on mac address. + See also --------