Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
4 views

Mac OS X How is Hostname configuration set up [migrated]

I have taken over a network of Mac Minis at work. The system was installed by a development company that has gone bust and are uncontactable. Each of the Mac minis are connected to a Mac pro acting as ...
0
votes
0answers
14 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 ...
0
votes
1answer
39 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 ...
0
votes
0answers
26 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
19 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
40 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
19 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
51 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
65 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
82 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
343 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
47 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
33 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
137 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 ...
2
votes
2answers
50 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
173 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
336 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
107 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
1k 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
5k 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
59 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
179 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 ...
0
votes
1answer
2k 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
67 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
61 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
25 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
35 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
565 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
81 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 /...
0
votes
0answers
188 views

Windows 10 firewall stops name from being resolved

I'm trying to set up a desktop computer for RDP over LAN. I've found that I can RDP into it when I supply its LAN IP, but when I supply the host's name, I can't connect. Similarly, pings go ...
0
votes
1answer
452 views

How to update the AWS EC2 hostname without reboot?

I know that to update the hostname of an AWS EC2 instance, I have to update /etc/sysconfig/network and then do a reboot. But I need to do it without the reboot, is there a way to do this? I know ...
3
votes
1answer
1k views

Changing hostname on boot on Debian Stretch

I would like to configure a Debian Stretch machine so that it sets its hostname on boot based on the machine's serial number. This is due to the fact that the OS on the machine I'm configuring will be ...
0
votes
1answer
746 views

What is the difference between host name and sub-domain name?

We know that Fully Qualified Domain Name (FQDN) consists of hostname.domain.TLD. Is that hostname also called the subdomain name?  What's the hostname and what's the subdomain name?
0
votes
1answer
104 views

domain name configuration + redhat 7

we configured the hostname with qualified domain name in the file: more /etc/hostname machine04.whitehouse.com so hostname will give machine04.whitehouse.com in the redhat 7 machine we see ...
0
votes
1answer
37 views

Best way of accessing a server by the same name when changing between its local network and the Internet?

I have a dynamic DNS name for my router to access my server via port forwarding from the Internet. When I am at home at the local network I can also access this server by its local name or IP address. ...
0
votes
1answer
120 views

Raspberry PI changing IP every 30 minutes (+/-)

Please don't judge, I'm a newbe But I've been looking everywhere for an answer to this, and I can't find one that I will suit me: My PI keeps changing IP while on. I did not turn my router off, I did ...
2
votes
1answer
1k views

Slow DNS resolution of local network computer

I just rebuilt my desktop and built a media server (both Windows 10 enterprise). However, I'm experiencing a large delay when I issue a ping command, remote desktop or try to access a network share ...
0
votes
1answer
1k views

FQDN on Local Network?

I am stuck with OVirt 1.1 Setup on Centos 7 Ovirt want a hostname that is fully qualified and throwing error on webpage The client is not authorized to request an authorization. It's required to ...
3
votes
1answer
174 views

Address resolution service by a device that isn't a gateway or DNS server?

I have noticed that some non gateway devices offer a capability of accessing their web interface by a hostname. Here is a reference for Hass.io. The question is not locked to a specific vendor it's ...
0
votes
1answer
449 views

Determine hostname of device given private ip address

I've found out that if I ping my broadcast ip address I get a response of all the devices connected to it. I wanted to know if there is a command (unix) to be able to get some information of a given ...
0
votes
1answer
131 views

How to restrict program to connect only to a whitelist of hosts?

I want to restrict some program to be allowed to connect only to a whitelist of hosts. What it the simplest way to achieve this? OS: Windows 7
0
votes
1answer
179 views

Adding ShortHostName to hostname file, and ShortHostName.DOMAIN to hosts file in Docker container

When I use docker run --it --name myContainer --hostname myShortHostName ubuntu bash That will add myShortHostName to /etc/hostname file. And 172.169.X.X myShortHostName in /etc/hosts file. but in ...
3
votes
0answers
3k views

Extend OpenWRT DNS with lines to resolve local IP

I have an OpenWRT router acting as an Wifi access point to a local network. No actual routing currently involved. The ip adress of the wlan0 interface on the router is statically set to 192.168.120.1....
1
vote
2answers
6k views

How to change Debian Linux domainname

I have never been able to fully understand how to change Linux hostname and domainname, and now it comes back and bites me again -- my Linux domainname is blank (domainname gives (none)) and I just ...
0
votes
1answer
80 views

Where DNS record comes from?

I have a Synology nas, its hostname is "NAS". If I query it with a ping, its name is resolved correctly. If I query its name with nslookup, hte lookup fails because google's dns 8.8.8.8 (the default ...
0
votes
2answers
85 views

A way simple to resolve an domain different in my network

I am running a debian server in my local network. My internet-gateway is integrated in a Vodafone easybox (WLAN-)router. To easily access my services from all my devices at every location I have an ...
0
votes
0answers
309 views

Access Multiple Local Sites (same ip) By Host Name From Android

I'm hosting several sites from my local machine for development purposes. It's an odd mix of personal-use sites, dev sites for work, the dev site for my creative group's real site, and just the odd ...
1
vote
2answers
87 views

Removing Duplicates Across 3K Rows, 9 Columns

I have an Excel 2010 table of 3,800+. I would like to identify duplicates across 6 columns, many with text, some with IP addresses and hostnames, so that accurate data is reflected. I've tried the old ...
0
votes
2answers
66 views

Change hostname for single application on linux

I want the computer to appear to have a different name for some application (that doesn't have a GUI, if that makes it any easier) without actually changing the name. I don't want a virtual machine ...
3
votes
2answers
7k views

Can I map a IP address and a port with /etc/hosts?

Can I map an IP address and port to a domain name? For example, I’d like to map 127.0.0.1:8000 to testdev.com My /etc/hosts file has 127.0.0.1 localhost 127.0.0.1:8000 testdev.com So that when I ...