WAPT Version: 2.6.1.17567
Server OS: Debian 12
Administration Machine OS: Windows Server 2022
Target OS: macOS 26.0 and 14.5
Hello,
since installing the new version, in the administration console some of our Macs are showing up with a name in the format "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" while others are not (same OS).
Each Mac has a hostname in the format "macXX.local".
Have you encountered this issue before?
Thank you
macOS: problem reported, machine name
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Hello,
is the Mac on the domain?
Does a /etc/krb5.keytab file exist?
is the Mac on the domain?
Does a /etc/krb5.keytab file exist?
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
On a Mac, it would be interesting to do a:
Code: Select all
wapt-get shell
>>> from setuphelpers import *
>>> get_hostname_and_domain()
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
I think you'll end up here in any case:
Who performs an IP-to-name resolution to obtain a fully qualified domain name (FQDN)?
We would need to change that in wapt but it's more of a headache than it seems.
In your case, logically you should retrieve only the hostname, but without the domain.
Code: Select all
import socket
socket.getfqdn()
We would need to change that in wapt but it's more of a headache than it seems.
In your case, logically you should retrieve only the hostname, but without the domain.
I placed the orders but received an error message:sfonteneau wrote: ↑Nov 18, 2025 - 3:28 PM On a Mac, it would be interesting to do a:
Code: Select all
wapt-get shell >>> from setuphelpers import * >>> get_hostname_and_domain()
Traceback (most recent call last):
File "<console> ", line 1, in<module>
NameError: name 'get_hostname_and_domain' is not defined
Last edited by clafon on Nov 18, 2025 - 3:38 PM, edited 1 time.
So I would need to remove ".local" from the hostname?sfonteneau wrote: ↑Nov 18, 2025 - 3:31 PM In your case, logically you should retrieve only the hostname, but without the domain
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Just try doing this:
`import socket
socket.getfqdn()
` to verify the theory
`import socket
socket.getfqdn()
` to verify the theory
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
So that's right,
it's the socket library integrated into Python that's communicating, see:
https://docs.python.org/3/library/socke ... et.getfqdn.
Here it's the reverse IP address resolution that's working...
try putting a "." in the hostname to see if that works, but I doubt it will.
Simon
it's the socket library integrated into Python that's communicating, see:
https://docs.python.org/3/library/socke ... et.getfqdn.
Here it's the reverse IP address resolution that's working...
try putting a "." in the hostname to see if that works, but I doubt it will.
Simon
