Dot gets added to hostname, why?
-
I wanted to add a static mapping from the dhcp leases but when I tried, I saw that a dot was added to it. Anyone knows why?
-
@Bob-Dig not happening here with 25.03-BETA and KEA. What is set as domain for this instance of pfSense?
-
@patient0 It is only happening with one host so far, so not a general problem (24.11-RELEASE). But still weird. The domain name is "internal".
-
@Bob-Dig not happening on any of mine that I see that are currently set or adding a new one. On 24.11
Just remove it - are you saying you can't? Most like you copied pasted? Or you browser added?
-
-
@johnpoz said in Dot gets added to hostname, why?:
are you saying you can't?
No, I don't say that. But it is weird and I wanted to mention it.
The Browser shouldn't be involved.I had noticed before that an Alias made from this hostname was not reliable made, often it was empty.
I just installed pfSense fresh, then applied my old config. The "problem" still occurs. And the MAC of this host was not in the old config, I searched it.
-
@patient0 said in Dot gets added to hostname, why?:
and what is the x1000 clients OS, anything exotic or IoT-ish?
Windows 11Windows Server 22@patient0 said in Dot gets added to hostname, why?:
judging by the "Early DNS Registration" field, KEA is in play
KEA, yes, but Early DNS Registration is not enabled, made to much problems in the past.
-
@Bob-Dig said in Dot gets added to hostname, why?:
The Browser shouldn't be involved.
But quite often can be when there is a web form and the browser does any sort of autofill.
I had some issues with this myself recently - where browser on my work laptop was filling in comments on a change control form with previously entered comments..
edit: so your using kea then? Does it happen with isc? again if you can remove it - not sure what the issue is.. Unless every time you went to add a host it added it, and even then host with a trailing dot could be just the separation of host name to domain. Does it not resolve with x1000.domain.tld, or do you have to try and resolve x1000..domain.tld?
-
@Bob-Dig said in Dot gets added to hostname, why?:
Windows 11
Not so niche at all.
Does the
x1000.
hostname also show up in the DHCP leases overview? Anything in the hosts DHCP client log or the DHCP server log? -
@johnpoz Mine doesn't (FF). But now I tried with another Browser (Chromium), the dot still comes.
-
@patient0 said in Dot gets added to hostname, why?:
Does the x1000. hostname also show up in the DHCP leases overview?
Only without the dot, like it should, when there was no static mapping.
So my guess, it is related to all the 0 in the name. Or the MAC-address is weird for kea. IDK
-
@Bob-Dig Mmhh, I set the domain to
internal
and changed a client hostname tox1000
+ spoofed it's MAC to yours (but on a Linux client). Still not dot added in the static mappings. Maybe client related, I haven't got any Windows machines. -
@patient0 said in Dot gets added to hostname, why?:
Maybe client related
I don't think so because the "act" of making a static mapping from the DHCP Leases triggers this.