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
23 views

My own DNS and hostnames in VM instance doesn´t work

I created a VM instance in Google Cloud and there I installed WHM to handle the server. It worked perfectly. Now I want to configure my own DNS and for this I created the host names in my domain that ...
MoorBe te saluda's user avatar
1 vote
1 answer
132 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
1 vote
1 answer
415 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 ...
Lolis4TheWin's user avatar
0 votes
0 answers
287 views

Server 2003 old Hostname will not resolve, New name will

I have a file server 2003, the original hostname will not resolve, but IP will, also renaming the server, I can browse to the new name and see the shares. If I rename to the original name, the problem ...
Devito's user avatar
  • 1
1 vote
1 answer
516 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
0 answers
38 views

Where does the macOS terminal "host name" come from?

On a unix terminal, I would expect to see something like username@hostname ~ % and the hostname should be the name of the computer I am currently working on. However, on macOS, when I open the ...
Holding Arthur's user avatar
0 votes
1 answer
204 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
144 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
143 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
698 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
0 votes
1 answer
372 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
766 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
  • 159
0 votes
1 answer
138 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
61 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
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 ...
ProsperousRF's user avatar
0 votes
0 answers
62 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
  • 1,950
1 vote
0 answers
697 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
170 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
279 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
189 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
406 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
0 votes
0 answers
1k 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
67 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
3k 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 (...
u123's user avatar
  • 540
0 votes
3 answers
881 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
7 votes
5 answers
9k 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
  • 771
0 votes
2 answers
282 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
  • 277
0 votes
0 answers
47 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
154 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
111 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
  • 59
1 vote
7 answers
25k 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
8k 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
565 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,076
1 vote
0 answers
102 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
  • 353
0 votes
1 answer
422 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
184 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
8 votes
3 answers
25k 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
  • 181
0 votes
0 answers
143 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
  • 103
0 votes
3 answers
87 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 vote
1 answer
3k 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\...
Ren's user avatar
  • 157
1 vote
1 answer
851 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....
tswaehn's user avatar
  • 121
-1 votes
2 answers
948 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....
a.t.'s user avatar
  • 383
0 votes
0 answers
823 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 ...
Cora_'s user avatar
  • 1
0 votes
1 answer
346 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 ...
clueless-u's user avatar
1 vote
1 answer
444 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
108 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....
Gnimmelf's user avatar
1 vote
0 answers
109 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 ...
Golo Roden's user avatar
  • 2,299
1 vote
1 answer
115 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: ...
j_skowron's user avatar
2 votes
1 answer
3k 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....
Adrián Jaramillo's user avatar

1
2 3 4 5
7