Questions tagged [hostname]

A hostname is a label, or name, that is assigned to a network-connected device and typically used as a human-friendly identifier.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Can I use 1.1.1.1 for public websites and still be able to access local computers on my LAN

I want to use Cloudflare's 1.1.1.1 DNS to surf the internet for its privacy, but I still want to be able to refer local computers by machine name instead of having to remember IP addresses.
0
votes
1answer
21 views

Display hostname next to IP on WiFi connection with wpa_supplicant and dhclient

I'm working on a custom Linux OS (built with Yocto) and I use wpa_supplicant to connect with Wi-Fi network and dhclient to get IP address. I can connect to the network and I can see my device from ...
0
votes
0answers
36 views

Linux: can't resolve any hostname

I am having a Debian server and it can't resolve any hostname, like with wget. Unfortunately I can't even install any packages, so I can't install the host command or similar. I am not an expert for ...
0
votes
0answers
31 views

SSH is unable to connect by hostname

I had a curious issue recently after I changed addresses, ISP, and router. I have a linux box running openssh which I was using as a NAS. I was able to log into the device using a command similar to ...
1
vote
0answers
14 views

Server connections refused when hostname used, works fine with IP

Hope someone can help. I've run a local server for a while on a Rapberry Pi 3b (Raspbian Buster) that includes a PBX server, DNSmasq and local webserver. I recently upgraded to a Pi4 and performed a ...
0
votes
2answers
411 views

Cannot resolve hostname (updating hostname for machine on local LAN) when attempting to contact a Raspberry Pi via hostname

I have connected a Raspberry Pi 4 running Ubuntu 20.04 to my local LAN over Wi-Fi. From my laptop I can SSH to the Raspberry Pi just fine with: $ ssh ubuntu@192.168.0.47 Welcome to Ubuntu 20.04.1 LTS (...
0
votes
3answers
779 views

What happens if the hostname of a domain goes down?

The definition of a hostname according to Wikipedia is: “A LABEL that is assigned to a device connected to a computer network and that is used to identify the device.” And I've been told that for ...
-1
votes
1answer
831 views

Which of these is a domain name? What's the difference between subdomain and hostname? I'm getting conflicting information [duplicate]

For the past two days I've been reading up on domains and the like because I'll be setting up a website on a VPS. However, I keep getting conflicting answers from stackoverflow, youtube and various ...
1
vote
2answers
2k views

How To Change Device Name Used By Google Chrome Browser For History Tracking

As seen in the image below, this is what Google Chrome thinks the hostname of the Windows 10 machine is. However this is not the case and the hostname is something completely different. How can this ...
0
votes
0answers
33 views

Empty result for hostname -A while hostname -f is correctly set

I'm tryng to set up a mail server according to this link. In particular, I've made the following steps to set up my hostname: Add a order hosts,bind line at the top of /etc/host.conf echo "my....
0
votes
0answers
9 views

Why does a mail header report a different hostname from the configured in the mail server

When I send an mail to Hotmail using the SMTP server mail.example.com and then when I received it and see the original message, I can see this in the header: helo=vps.example.com; Received: from vps....
0
votes
2answers
23 views

How to change result of hostname command

when I issue a hostname command in my Centos 7 server, I get this response: vps.example.com I have changed /etc/hosts file with this: 204.93.xxx.xxx mail.example.com However, when I issue hostname ...
0
votes
0answers
38 views

Windows local hostname resolution fails on reconnect

TL;DR version Windows fails to resolve local hostnames on reconnect network reconnect. Right after boot, network connected. > ping ubuntu Reply from [...] I disconnect and reconnect. > ping ...
1
vote
0answers
36 views

dnsmasq - Disable integration of DHCP-configured hosts into the DNS

In a common dnsmasq installation, serving as both a DHCP server and a DNS server, the DHCP server integrates with the DNS server and registers the hostnames of DHCP-configured hosts into the DNS. For ...
0
votes
0answers
21 views

Network Manager Ignores Dhclient Hostname Setting

I have long noticed that Network Manager sets its hostname in dhcp using hostnamed. The output of journalctl -u NetworkManager will always show the current hostname as hostname for Nm. I noticed this ...
0
votes
2answers
73 views

How can hostname be controlled reliably in Linux?

I am attempting to ascertain and control actual hostname during dhcp AP association. Changes to the /etc/hostname file break sudo. An inspection of journalctl -u NetworkManager shows Network Manager ...
0
votes
4answers
3k views

Can access shared network files by IP, but not by host name

For years, I've had file-sharing set up so that my laptop can access files on my desktop PC. I did that by creating matching (local) user accounts on both PCs. That worked fine for years, even when I ...
0
votes
2answers
593 views

Find hostname of an Windows image

How to find a hostname of a windows image? I've read about looking at the regback files, but also using C:/Windows/Debug/NetSetup.LOG When navigating to C:/Windows/Debug/NetSetup.LOG it shows several ...
0
votes
1answer
75 views

What's a quick and dirty way to dynamically resolve a local host name on Linux?

I have a web service running locally which, in the dev environment, has a dynamic IP address each time it runs. Annoyingly, I have to look up its IP each time and re-navigate to http://$IP/foo I ...
1
vote
0answers
44 views

Connecting to PiHole changes my computer's hostname?

I followed these instructions to create a VM in Google Cloud Platform that hosts PiHole (a DNS-based ad-blockign service) for me. To prevent the terrors of an open DNS provider, the PiHole is ...
0
votes
1answer
31 views

Host names behind NAT

First of all I want to apologize if this is a little bit silly, but I'm getting old.. My topology is as follows: Internet (I) <-> Router (R) <-> Host (H) I bought a domain (have a real IP as ...
0
votes
1answer
68 views

How are hostnames assigned on macOS?

I'm using some application software which I have installed on an Azure VM. I have a MacBook laptop which I use to connect to the Azure VM, using Microsoft's Remote Desktop client for Mac software. ...
3
votes
3answers
9k views

How to set up local domain name (.home)?

Assume I have two computers with hostnames pc1 and pc2 in my local network 10.0.0.0/24. My router has the ip address 10.0.0.138 and its instructions say that it is also reachable at modem.home, which ...
0
votes
0answers
52 views

Why windows 10 ping [hostname] failed?

I have two Win10 PC with the hostname "PC01" and "PC02" I have been able to ping PC01 and ping PC02 without any problem, until yesterday. It suddenly hangs. I can ping the PC using IP address though....
0
votes
3answers
77 views

How to change hostname independently of an ip address?

To change hostname of a machine (as stated here: https://support.rackspace.com/how-to/centos-hostname-change/) following files must be edited: /etc/sysconfig/network HOSTNAME=node1 /etc/hosts 192....
0
votes
1answer
1k views

Set hostname resolution in Windows without admin

Is it possible to somehow recognize hostnames without DNS record or hosts file edit? Is there some other way? I do not have admin privs for our company's PC so I cannot edit %WINDIR%\system32\drivers\...
0
votes
1answer
245 views

Having two IPs for same hostname — ping is sticking with the old IP and not trying the new IP

I thought there is a 1:n connection between IP and hostnames. However what I get is this [me@neo ~]$ nslookup dozer Server: 192.168.178.1 Address: 192.168.178.1#53 Name: dozer.fritz....
-1
votes
2answers
458 views

Using the public hostname in a personal public DNS server

Scenario I have a small website on a Windows 10 Pro N pc with (e.g.) public ip: 123.456.78 If I type in that ip from anywhere the website opens fine. Now I also bought 2 domains name e.g. www....
0
votes
0answers
365 views

“No address associated with hostname” but minecraft client can enter it?

I apologize if this site is not for this kind of questions, but this is really puzzling and I have no idea what is happening. I have 2 minecraft clients, tlauncher and Shiginima launcher. There is a ...
0
votes
1answer
160 views

Set hostname subsequent to each boot?

I'm looking into the possibility of setting hostname on my Arch Linux system (laptop) each time I boot the machine. I don't use any display manager, btw, but simply boot (using syslinux) to a terminal ...
1
vote
1answer
345 views

Changing ComputerName and LocalHostName on Mac OS 10.14.4

I am not able to change my ComputerName nor my LocalHostName on my Macbook Air running Mac OS 10.14.4 What I have tried so far: sudo scutil --set ComputerName "new-computer-name" when trying to ...
1
vote
1answer
61 views

Nginx redirection/rewrite: www to non-www and https

Note: See update below! I have a Nginx setup regarding two domains, example1.org and example2.org, they're both handled at the same instance. My problem is with example2.org, I want http://www....
1
vote
0answers
78 views

How does hostname -i work?

I know that I can get the external IP address of my machine / a Docker container from within by running: $ hostname -i Now I would like to implement a similar mechanism by myself, but for this I ...
0
votes
1answer
34 views

Changing ubuntu hostname has no effect

I am new to ubuntu and I am trying to change hostname of my ubuntu server 18.04.2 LTS. I've already changed /etc/hostname and /etc/hosts and rebooted. But it didn't work. My files: /etc/hostname: ...
2
votes
1answer
877 views

Can a PC have more than 1 hostname with a single operating system or with 2 operating systems?

That's a question that came into my mind because with what I learned, the hostname is something closer to the real world than the logic world, the hostname is a name to identify the machine physically....
1
vote
1answer
1k views

Windows 10 took long time to resolve host names

The problem I've encountered happens since 1809 update. This is some of the description of what happened: My Windows laptop can connect to Wi-Fi networks. When I connect to it, this happens: The ...
0
votes
0answers
27 views

Is there a way to see a name in the url on my pc instead of ip address

I have an app that serves up http webpages. It runs on my pc as a service and is accessed by using either our outsideip:port or on my pc: 127.0.0.1:1988. The outside ip and port are forward in our ...
2
votes
1answer
368 views

Autocomplete host names in Windows CMD

WSL Bash thing does it, for example, when using ping : But CMD can not do it. Is there a way to achieve that? Note: I know about clink, but it does not provide hosts file auto-completion, which is ...
2
votes
0answers
226 views

“ping myserver-name.local” returning “Temporary failure in name resolution”

I have an ubuntu server in my local network that I can ping using its IP address. However, following the answer here, when I try ping myserver-name.local I get Temporary failure in name ...
0
votes
0answers
115 views

systemd-stdio-bridge and D-Bus errors when trying to execute 'hostnamectl' remotely

Executing hostnamectl command to know host's chassis. Want to write a proper script to run on a certain list of hosts, but having a problem when executing hostnamectl -H. Note! works as expected ...
0
votes
1answer
62 views

How to Query Remote Linux/Rasbian System's Hostname

I have several Raspberry Pi deployments that I want to be able to remotely query over the network for their hostname. I've found that if I enable SMB via Samba that I can successfully query with a ...
1
vote
1answer
112 views

how to make a web address available in LAN?

I have a question regarding how or what's the technology behind the scene to make a hostname available in LAN? For example, one can go to http://tplinkeap.net to directly configure your local router (...
0
votes
1answer
700 views

Debugging name resolution with Windows and APIPA

For lab equipment I use default settings everywhere and they use IP auto configuration (APIPA aka zeroconf I think); I've put them on a private switch. I was always able to to address them via their ...
1
vote
1answer
448 views

Find name of computer attached to same network

I have two PCs connected to the same network. One is mine and there is one other. I want to find out the Name of the other PC using the command line. Please note: There are only two PC's connected to ...
2
votes
2answers
1k views

How are names resolved on modern local networks? [closed]

On modern local area networks, devices use a few different techniques to resolve names. Specifically, just to name a few, things like DNS, Avahi, zeroconf, mDNS, Bonjour, NetBIOS, WINS, or even manual ...
-2
votes
2answers
19k views

How to get the ip address of a computer from its hostname? [duplicate]

I have the name of a computer on the network, and I need to know how to get the ip address of said computer from a batch file? Thanks.
0
votes
1answer
58 views

Is there any possibilities to access the host name which is added in other system host file?

I have added the new host name(www.example.com) and IP in host file at my system.I can access the website. Question is, Can access the same host name(www.example.com) in other system? Is there any ...
0
votes
1answer
39 views

Ssh client config, common configuration for all hosts on the same machine

in my ~/.ssh/config I would like to define something like this # myvm.hosting.com is a real existing domain Host myvm.hosting.com # tunnel to mysql LocalForward 3311 localhost:3306 # example.com ...
2
votes
1answer
251 views

PC-name, localhost, hostname e.t.c

Today I reinstalled Fedora and saw a strange name on the command line [ekkl@37L4247F27-25 ~]$ uname -a Linux 37L4247F27-25 4.16.15-300.fc28.x86_64 #1 SMP Tue Jun 12 00:42:35 UTC 2018 x86_64 x86_64 ...
1
vote
2answers
60 views

Reply to ping while having another hostname

I have a device which is normally connected to the internet, but for test purposes, it's now connected directly to a nic of my PC. The device pings a hostname by means of a connectivity test. While ...

1
2 3 4 5
7