Questions tagged [hostname]
A hostname is the label given to a device connected to a computer network.
385 questions
2 votes
1 answer
140 views
dhcpcd does not send hostname, reverse DNS does not work
I am using Debian Trixie on a server. I have installed it using ZFSBootMenu documentation, without a desktop environment. The installation is quite minimal in term of packages. My motherboard has 2 ...
-1 votes
1 answer
107 views
Is there an equivalent cli command in macos for hostnamectl?
Is there an equivalent on MacOS to the Linux hostnamectl command?
1 vote
1 answer
128 views
show just the “machine name” (hostname) in neofetch
When I run neofetch, I get the first line containing : fauve@katioucha I can silent it by neofetch --disable title, it’s fine. But my goal is to hide the user and keep the hostname. I found here how ...
0 votes
0 answers
29 views
How to uses rsyslog with more than one hostname via Linux Namespaces?
I am trying to learn about UTS namespace. I want to write some log entries from both a parent namespace and a child UTS namespace. This is for demonstration purposes, so it doesn't matter if rsyslog ...
7 votes
2 answers
1k views
Why does Kubuntu refuse one-letter hostnames?
I see that Kubuntu refuses to create one-letter hostnames: Your hostname is too short. Why? Is that a security issue, a potential name overlap concern, or something else?
0 votes
1 answer
112 views
mDNS hostname from other device gets assigned local
I have a weird issue. I have an ESP32 embedded device running an mDNS server which I assign a hostname to. For the record, i've included this code for the ESP32 device below. When I ping this hostname ...
0 votes
1 answer
124 views
Where is the HOSTNAME taken from?
In the last few days the server name in the prompt on our production server has changed from the correct myu3a01 to the incorrect icaris30, the name of an old server which is now used to address our ...
0 votes
2 answers
187 views
Device name of a Linux system required for identifying it as an "allowed device" on a WiFi hotspot?
I want to add a Linux system to the white list of a WiFi mobile hotspot running on Android. Doing hostnamectl returns, amongst other information, a Static hostname, an Icon name, a Machine ID, and a ...
-1 votes
1 answer
352 views
Kali Linux Hostname [closed]
I have tried to get rid of this space on my host name in my Kali box: ehern㉿ kali-linux I have tried to modify the /etc/hostname and /etc/hosts files with Vim and still the space before the host ...
1 vote
1 answer
197 views
The hostname command outputs two IP addresses when one is expected
# hostname --help | grep ip -i, --ip-address addresses for the host name -I, --all-ip-addresses all addresses for the host According to the above, -i should output just one IP address, ...
0 votes
2 answers
158 views
ProxyPass return 404, but one name OK
Good day to all. I'll give you an example, I tried it There are 2 entries for BalanceMember in /etc/hosts. Of course, don’t look at these virtual machines, it’s a black box. All requests return to 404 ...
2 votes
2 answers
6k views
Installing systemd-resolved kills dns lookup
Update After uninstalling and re-installing systemd-resolved, the issue seems to have righted itself. I do not understand why, but I did notice that the /etc/resolv.conf does not get modified after ...
2 votes
0 answers
279 views
avahi-daemon runs with wrong hostname
I have a problem on one device where the avahi-daemon is running with the wrong hostname and it is messing up my system. The hostname is ABC-100001 but when I check the process list it shows that ...
1 vote
1 answer
1k views
systemd ignores /etc/hostname at startup
Our team works with a custom, barebone linux distro for an embedded device, and it uses systemd. The system used to rely on SystemV init scripts until stuff got migrated to systemd (including network ...
0 votes
1 answer
210 views
Howto change linux hostname on mounted (copied) drive
I have copied my headless Ubuntu 22LTS server to a backup drive with dd, and I want to deploy it as a backup server with the same relevant settings. What is the proper way to change the hostname on ...