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
1 answer
37 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 ...
user avatar
  • 1
0 votes
1 answer
17 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 ...
user avatar
0 votes
0 answers
121 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 ...
user avatar
0 votes
1 answer
23 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 ...
user avatar
0 votes
0 answers
18 views

How to install Nessus Essentials on a server with various hostnames and restrict it to a specific hostname?

I would like to install Nessus Essentials on my server. The server has a few different hostnames on it sharing the same IP. How can I install the RPM and restrict it to a specific hostname? Right now, ...
user avatar
0 votes
1 answer
90 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....
user avatar
  • 159
0 votes
1 answer
41 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 ...
user avatar
0 votes
0 answers
13 views

Tinycore pxeboot hostname

We have a pxeboot tinycore environment setup which works perfect. We want to set the Mac address as hostname and register this name to our internal windows dns server. We have managed to change the /...
user avatar
  • 23
0 votes
2 answers
31 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 ...
user avatar
30 votes
1 answer
5k views

Could "user@192.0.2.1" be a valid email address?

I study regex and faced a question: could an email address like username@192.0.2.1 be valid? Sure there is the valid username, but what about domain? Should it be domain name only or is host ip ...
user avatar
0 votes
0 answers
61 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: ...
user avatar
  • 1,850
1 vote
0 answers
189 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....
user avatar
0 votes
1 answer
41 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... ...
user avatar
0 votes
1 answer
73 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.
user avatar
0 votes
1 answer
51 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 ...
user avatar
0 votes
0 answers
58 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 ...
user avatar
0 votes
0 answers
178 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 ...
user avatar
1 vote
0 answers
19 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 ...
user avatar
0 votes
2 answers
1k 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 (...
user avatar
  • 540
0 votes
3 answers
799 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 ...
user avatar
-1 votes
1 answer
918 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 ...
user avatar
5 votes
4 answers
5k 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 ...
user avatar
  • 721
0 votes
2 answers
75 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 ...
user avatar
  • 255
0 votes
0 answers
43 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 ...
user avatar
1 vote
0 answers
62 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 ...
user avatar
0 votes
2 answers
94 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 ...
user avatar
  • 49
0 votes
4 answers
9k 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 ...
user avatar
0 votes
2 answers
3k 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 ...
user avatar
  • 105
0 votes
1 answer
195 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 ...
user avatar
  • 1,860
1 vote
0 answers
54 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 ...
user avatar
  • 353
0 votes
1 answer
143 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 ...
user avatar
  • 1
0 votes
1 answer
102 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. ...
user avatar
  • 3
5 votes
3 answers
17k 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 ...
user avatar
  • 151
0 votes
0 answers
58 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....
user avatar
  • 103
0 votes
3 answers
82 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....
user avatar
  • 115
1 vote
1 answer
2k 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\...
user avatar
  • 157
0 votes
1 answer
459 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....
user avatar
  • 111
-1 votes
2 answers
636 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....
user avatar
  • 343
0 votes
0 answers
553 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 ...
user avatar
  • 1
0 votes
1 answer
242 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 ...
user avatar
1 vote
1 answer
396 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 ...
user avatar
1 vote
1 answer
74 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....
user avatar
1 vote
0 answers
90 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 ...
user avatar
  • 1,999
1 vote
1 answer
42 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: ...
user avatar
2 votes
1 answer
2k 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....
user avatar
1 vote
1 answer
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 ...
user avatar
  • 113
0 votes
0 answers
31 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 ...
user avatar
2 votes
1 answer
535 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 ...
user avatar
  • 2,477
2 votes
0 answers
277 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 ...
user avatar
  • 141
0 votes
0 answers
152 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 ...
user avatar
  • 423

1
2 3 4 5
7