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

nmap hostname detection very inconsistent

I've noticed that the hostname detection of nmap (Version 7.80) appears to be very inconsistent. For example scanning just the single host yields: # nmap -sn 10.128.1.100 Starting Nmap 7.80 ( https:/...
0
votes
1answer
34 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
53 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 ...
0
votes
0answers
52 views

When connecting to fritz!box through VPN, can't ping other hosts via hostnames directly

This is my LAN: while I'm inside the network, I can ping all other nodes by their hostname without problem, for exaple ping SONIC works as expected. Now I'm trying to setup external VPN setup and am ...
0
votes
0answers
29 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
23 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
56 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. ...
2
votes
3answers
459 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
25 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
73 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
170 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\...
-1
votes
1answer
85 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
176 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
119 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
0answers
23 views

How to set externally visible host name for container?

Let's say I run RabbitMQ image and with appropriate port mapping I can run on my local computer browser and enter the address http://localhost:15672/ to get management page. It works. Now I would ...
0
votes
1answer
75 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
186 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
58 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
65 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
32 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
135 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
563 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
26 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 ...
1
vote
1answer
191 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
206 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
69 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
51 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
73 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
419 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
212 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
798 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
10k 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
57 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
36 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
225 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
57 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 ...
0
votes
1answer
486 views

Create DNS record to External Hostname in Windows Server 2012

I received a request to add the following record to the hosts file on all PC's in my company: ExternalHostname.hosting.local 172.123.456.789 The ExternalHostname is a SAP server located in a ...
1
vote
0answers
937 views

Block a hostname via windows firewall

Is there a way to create an inbound rule at windows 10 firewall to block a hostname instead of its dynamic IP address ? PS. I didn't care for modifying the hosts file
0
votes
1answer
155 views

Can set hostname of VPS buy from https://bandwagonhost.com

I buy a VPS server from bandwagon , here is this server 's info enter image description here then I install a wordpress blog in this server , now I can visit my blog by type : http://myIP but I ...
0
votes
2answers
6k views

BIND can't resolve a domain name

I have a BIND ubuntu server as a private DNS server for com zone and two hosts (web servers). The three are virtual hosts using virtual box and connect together using a virtual host card. I have ...
0
votes
2answers
18k views

Add CNAME record in BIND zone file

I have set up a virtual private network using virtualbox with a DNS server named: dns1.xyz1.com. I have a webs server named: xyz1.com. I want to use my DNS server to resolve the IP address of the ...
0
votes
1answer
973 views

How to properly connect to FTP via hostname?

I am trying to set up my own sync rule for my Galaxy S7 via an app. I had no luck with setting up SMB share on Windows (where the sync folder is located) so I am trying different approach with FTP ...
0
votes
1answer
666 views

Can't resolve name to IP using private BIND DNS server

I am setting up experiment virtual network using virtualbox. I configured a BIND DNS server and have some hosts all using ubuntu linux. I made sure that the forward and reverse configuration files ...
1
vote
1answer
9k views

Error in named-checkzone: DNS zone error: has no address records (A or AAAA)

I am configuring my private DNS server. I am following this tutorial. But when I reached the Check BIND Configuration Syntax step, I got some errors. Here is the command output: x@e-dns1:/etc/bind$...
2
votes
1answer
150 views

How to access a host with known host name from device supporting only IP numbers?

The problem: There's a service on server with changing IP address, but constant host name (Dyndns or similar). But the client device that wants to use the service can access it only by IP, not host ...
0
votes
1answer
295 views

host name to ip resolution is not using /etc/hosts file

I have defined some hostnames in /etc/hosts i.e. 192.168.15.20 example.com when I do ping example.com I get the reolved ip as the one defined in /etc/hosts but when I change this IP to another IP (...
1
vote
1answer
41 views

What causes different capitalisation and additions like .local in advertised host names?

I have two Raspberry Pi boards running Linux (Raspbian). Their being totally identical gets me confused when I see their advertised host names: The first is kitchen.local; the second BATHROOM. The ...
0
votes
0answers
41 views

Wrong IP from hostname

I have two Windows PCs connected to a network (Physical). Desktop - 192.168.0.100 Notebook - 192.168.0.101 Both have VM VirtualBox installed, so both have the VirtualBox Host-Only Network. Desktop -...
2
votes
1answer
2k views

What will log file be written when the hostname is changed?

What will log file be written when the hostname is changed? and how do I learn the previous hostnames? p.s there is not seen at the /var/log/messages
1
vote
1answer
136 views

BananaPi with wrong hostname on router

I set up my Banana Pi using the simple hostname bananapi which is also shown at the command line (root@bananapi:/#) and using the hostname command in my ARMBIAN shell, furthermore I customized the /...

1
2 3 4 5 6