Skip to main content

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
0 answers
31 views

Does Windows support static and pretty hostnames?

Question Does Windows 11 support the concept of a --static and --pretty hostname, like SystemD's hostnamectl command does (and more broadly, almost all Linux-based OSes do)? Rationale I ask because ...
RokeJulianLockhart's user avatar
1 vote
1 answer
1k views

Fix hostname resolution in Fritz!Box local network

Situation: I have a home network with a Fritz!Box 6690 Cable as the network mesh master. The Fritzbox has setup DynDNS so that the hostname drandarov.io points to my Public IP. I also have a HTTPS ...
Dmitrij Drandarov's user avatar
-1 votes
1 answer
197 views

How do I change network name of Windows 11 PC?

My Windows 11 PC came with a generic name DESKTOP-CLIQGVS. I followed the standard name change procedure and changed the name to lifebook. It shows both names now, and it is still visible on the ...
Paul Jurczak's user avatar
0 votes
1 answer
63 views

What is Google or Apple doing differently in resolving hostname

I have my device connected to router with Internet connection. If I change my device IP address to a different subnet, it continues to work. For example, the router is 192.168.0.1, my device is 192....
user avatar
0 votes
0 answers
58 views

Proxmox Server Connectivity Issues: Duplicate Hostnames and IP Addresses

It appears that I'm encountering an issue with my recently established Proxmox servers. My configuration involves two servers: a Dell Poweredge T310 and a Dell Poweredge T330. 1 and a half year ago I ...
Pøziel's user avatar
2 votes
1 answer
85 views

Unrecognized IP address showing when hostname -I entered into terminal

This has been the case since I tried installing some now uninstalled software on my Linux laptop to connect to an IP camera network (Hikvision cameras and DVR recording device via a docker image). How ...
babelproofreader's user avatar
1 vote
2 answers
283 views

why is so hard in linux to change permantly hostname?

Suddenly, my machine changed its hostname for unknown reason. I want to set the previous hostname. I can change hostname, very easily temporarily but not permantly! when I say hostname I mean the word ...
Estatistics's user avatar
-1 votes
1 answer
555 views

How to send an email from one user to another, locally and offline?

I'm just testing a few things with e-mail and want to send something with mailutils strictly locally and offline from one user to another: tbird@mordor:~$ tbird@mordor:~$ mail nicholas@mordor....
Nicholas Saunders's user avatar
0 votes
0 answers
2k views

"Remote side unexpectedly closed network connection" when I use general hostname in MobaXterm

To connect to a remote Red Hat machine in a cluster, the SSH command needed is as follows, ssh -X -i id_rsa -t username@JumpHost ssh -X username@FrontEndHost since there is a jump host named JumpHost....
zzzhhh's user avatar
  • 31
2 votes
1 answer
134 views

Access cached DNS entries when main DNS-server is down?

I try to access subdomain.a.com which uses dns.b.com for DNS but that DNS-server (all 10 of them actually) is down since about 2 hours. subdomain.a.com is working as expected but you just can't access ...
d-b's user avatar
  • 886
2 votes
2 answers
617 views

What are the uses for all computer/host/dhcp names?

This question is meant to be specific to a home network. Windows, Linux, and MacOS computers all have a host name. In addition, MacOS computers have a computer name and a local host name. And when a ...
Jim Orcheson's user avatar
0 votes
2 answers
714 views

SSH hostname used is different than what hostname returns

I use PuTTY to SSH into a remote server by putting "SomeComputerName" into the Host Name box of PuTTY. Then when I run the hostname command at the termainal I get something different like &...
user3731622's user avatar
0 votes
1 answer
81 views

"hostname is too long" error messages in PowerShell when running a foreach loop

$IPadd = get-content LRSHost.txt foreach ($ip in $IPadd) { [system.net.dns]::gethostentry("$IPAdd") } When running this I get this error: the size of hostname is too long. it cannot be ...
Manuel Orellana's user avatar
1 vote
1 answer
915 views

Cannot ssh anymore via no-ip hostname, works with wan ip, nslookup gives nxdomain

After extensive search of this forum to no avail, I post my issue here. I have a small machine running pop!OS 22.04 at home that I use to host a few pages with nginx. To do so, I have a no-ip domain (...
florianbo's user avatar
0 votes
1 answer
2k views

How to solve "sudo: unable to resolve host serverlaptop: Name or service not known"

I've read a lot of post about this issue but none of it helped. I dont understand what did i do wrong. Everything is working but i get this error/warning message: sudo: unable to resolve host ...
AutisticAllosaurus's user avatar
1 vote
1 answer
1k views

how to block websites without using host file

I'm just trying to create a basic program that allows users to input websites to be blocked but editing the host file does not work at all. I tried using all the links from here for sites like reddit/...
HowePersonal's user avatar
0 votes
1 answer
328 views

modify a router's reply to macOS's reverse DNS query such that hostname defaults to the .local domain

I have read that on BSD/macOS/OS X, hostname is found from a search that includes a few places. One part of the search can be a reverse DNS lookup. For DNS lookup, I observe different behavior on ...
jbjo's user avatar
  • 101
0 votes
1 answer
246 views

Why does Windows resolve all IPs of all NICs with the hostname?

I´m having diferents problems with TCP/IP aplications that works through HOSTNAME. The Server where this aplications are installed(WIN Server 2012) have 4 NICs and Windows,resolve his own hostname ...
imgs's user avatar
  • 1
0 votes
1 answer
704 views

Difference between setting hostname using binary and setting hostname in file in Linux

In Linux, I can change the hostname as follows: sudo hostname <hostname> Additionally, I can just change the hostname in the /etc/hostname and /etc/hosts file. My question is: If I change the ...
Tobias von Falkenhayn's user avatar
0 votes
0 answers
1k views

Windows cannot resolve a CNAME records in bind

In linux I use bind - version: 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.5 - configured in such a way that 2 host names share the same IP address. The 2 host names are server2 and server3 and they must ...
famedoro's user avatar
1 vote
1 answer
1k views

Local contained website browse with hostname or dns

I have a webserver on my RaspberryPi with apache2. I can browse the website with pi's local IP address like 192.168.x.x. I want to browse it without IP in my LAN like, http://local.mypi.com. How can I ...
Hakan Ulusoy's user avatar
0 votes
1 answer
2k views

Local Network Subdomain Access

Im trying to set up a local network subdomain that is accessible to the entire local network. This is Ubuntu Server 20.04. I've modified /etc/hosts as follows: 127.0.0.1 localhost 127.0.1.1 nas....
addohm's user avatar
  • 199
0 votes
1 answer
210 views

Wrong hostname resolution in Local network

context I was trying in vain to map drives from my NAS to my PC via NFS when I figured out that my PC hostname was not resolved with the proper IP address from my NAS or any other devices connected ...
JB Rolland's user avatar
0 votes
2 answers
87 views

opendmarc: hostnamefqdn() shows only short name / helo command rejected fqdn

I have problem with opendmarc. This software uses perl function to send report mails. So in the source code I see that /etc/opendmarc_reports uses also function hostnamefqdn() to pass it to helo ...
Macsurf's user avatar
31 votes
1 answer
5k views

Could "[email protected]" be a valid email address?

I study regex and faced a question: could an email address like [email protected] be valid? Sure there is the valid username, but what about domain? Should it be domain name only or is host ip ...
SkyrocketStan's user avatar
0 votes
0 answers
63 views

host resolves the name but ping and browser do not

I observe the following intermittent behavior: $ host foo.bar.com foo.bar.com has address 172.17.13.217 foo.bar.com has address 10.33.111.101 $ ping -c 5 foo.bar.com ping: cannot resolve foo.bar.com: ...
sds's user avatar
  • 2,100
1 vote
0 answers
1k views

Esxi Host - can't access via hostname anymore

Having had to reset router (Google Nest Wifi) i'm now unable to access my home esxi server via hostname. (I can still access it via local IP) and nslookup of it's ip returns >nslookup 192.168.86....
LegionOfBrad's user avatar
0 votes
1 answer
1k views

How can I configure the hostnames of my servers from services on the network? What should I use? A DHCP? A DNS? Both?

I'm trying to establish a way to configure my servers' hostnames in a centralized way, that is, from some service on the network that does it. I know there are three names that identify a server... ...
Eduardo Lucio's user avatar
0 votes
1 answer
735 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.
Xbox One's user avatar
  • 105
0 votes
1 answer
456 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 ...
przemoch's user avatar
  • 113
0 votes
0 answers
747 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 ...
puaaaal's user avatar
  • 101
0 votes
0 answers
2k 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 ...
stillQuestioning's user avatar
1 vote
0 answers
129 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 ...
Ian Bishop's user avatar
0 votes
2 answers
5k 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 [email protected] Welcome to Ubuntu 20.04.1 LTS (...
u123's user avatar
  • 550
0 votes
3 answers
1k 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 ...
user8380672's user avatar
-1 votes
1 answer
1k 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 ...
user8380672's user avatar
9 votes
6 answers
15k 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 ...
Pie's user avatar
  • 821
0 votes
2 answers
688 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 ...
jstuardo's user avatar
  • 357
0 votes
0 answers
62 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 ...
B_Dex_Float's user avatar
1 vote
0 answers
262 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 ...
P. Rodríguez's user avatar
0 votes
2 answers
131 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 ...
Kebam's user avatar
  • 79
4 votes
7 answers
58k 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 ...
David Grimes's user avatar
0 votes
2 answers
19k 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 ...
The_Bear's user avatar
  • 105
0 votes
1 answer
1k 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 ...
spraff's user avatar
  • 2,278
1 vote
0 answers
144 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 ...
Alexander's user avatar
  • 376
0 votes
1 answer
972 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 ...
Steve's user avatar
  • 1
0 votes
1 answer
585 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. ...
Rob's user avatar
  • 3
11 votes
3 answers
34k 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 ...
hm1912's user avatar
  • 211
0 votes
0 answers
207 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....
s k's user avatar
  • 113
0 votes
3 answers
108 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....
hal's user avatar
  • 115

1
2 3 4 5
7