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.
330
questions
7
votes
3
answers
38k
views
How can I map a domain name to an IP address and port?
I want to give a domain name to the IP address and port for an application in Windows 7. For example, test.com should map to 127.0.0.1:59873.
Is there anyway that we can do it by using a web server ...
4
votes
1
answer
10k
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. ...
0
votes
0
answers
21
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 ...
2
votes
1
answer
70
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 ...
1
vote
1
answer
6k
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
vote
1
answer
4k
views
change DNS name on raspbian (debian)
I just installed raspbian on my raspberry pi, and was wondering why I can't use it's hostname from other machines.
on my router, I can see which computers are connected by their name, for example a ...
1
vote
1
answer
10k
views
How to connect to Windows remote domain from Linux know its gateway hostname?
I have credentials to connect to my University's reserved Linux virtual machine which means :
username
password
gateway's hostname let's say secretgateway.net
full hostname in .local domain let's ...
0
votes
2
answers
90
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 ...
8
votes
5
answers
12k
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 ...
0
votes
3
answers
4k
views
Linux can see the hostname, but Windows can't see it
I'm getting everything set up for a LAN party, and would like connecting to the server as easy as possible. There will be both Linux and Windows computers at this party, so it needs to be compatible ...
0
votes
1
answer
4k
views
Automatically rename computers based on their MAC address
How to automatically rename a computer host / name based on it's MAC address?
I have 40 PC's and I need a script to rename them automatically at logon after I use ghost.
I'm in a Windows 7 ...
0
votes
1
answer
236
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....
38
votes
7
answers
238k
views
How can I display host name on windows desktop
I do a lot of work on Windows Server 2008 remote desktops and often lose track of which host I am currently logged on to.
Is there a way of displaying (without installing any non-standard apps) the ...
0
votes
0
answers
643
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....
2
votes
1
answer
71
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 ...
2
votes
2
answers
292
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 ...
0
votes
1
answer
1k
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....
2
votes
7
answers
43k
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 ...
0
votes
1
answer
43
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 ...
0
votes
2
answers
190
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 &...
8
votes
1
answer
8k
views
Is it possible to connect to a device using its hostname?
I am creating a small device running Linux with a web server on it. I want it to be plug and play, connect to a network and access to it using an abstract name.
Is it possible to access to a device ...
39
votes
7
answers
75k
views
OSX Terminal showing incorrect hostname
When I open Terminal I expect it to show what my PS1 is set to \h:\W \u\$.
However it's not displaying my hostname Eriks-MacBook, as displayed in System Preferences.
Instead, it's showing a random ...
0
votes
0
answers
63
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 ...
1
vote
1
answer
498
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 (...
0
votes
1
answer
1k
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 ...
26
votes
4
answers
69k
views
Correct domain name for a home desktop Linux machine
I have several machines running Debian, and during install, I left the domain name field blank. This hasn't affected anything so far, but I'm curious what the correct thing to set that field to is if ...
1
vote
1
answer
2k
views
Dynamic DNS with tunnel/proxy to the public?
TL;DR:
I want to be able to access my laptop publicly from anywhere, while my laptop could also be anywhere. Any Service, any port.
Original Post:
I want to be able to access my own computer from a ...
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/...
0
votes
1
answer
5k
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 ...
2
votes
2
answers
28k
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 ...
25
votes
4
answers
61k
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 ...
3
votes
1
answer
3k
views
Changing hostname for remote login on a Mac
I would like to change the hostname of my Mac for when I want to SCP or SSH into my computer.
I followed instructions to change my hostname online using scutil. Now when I enter hostname into terminal ...
10
votes
2
answers
44k
views
Difference between NETBIOS, host name and computer name?
In windows if you go to Computer->Properties->Advanced System Settings->Computer Name, you can change the computer name, let's say from MYCOMPUTER to LEDZEPPELIN.
This changes the (1) ...
0
votes
1
answer
272
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 ...
0
votes
1
answer
194
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 ...
0
votes
1
answer
408
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 ...
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 ...
0
votes
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 ...
35
votes
3
answers
54k
views
What is a hostname versus a computer name versus a subdomain versus www?
I was searching for understanding what is the “www” at the beginning of so many web addresses in the Internet. I read in somewhere that “www” is called “hostname”.
The world “hostname” made me go a ...
1
vote
2
answers
59k
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
1
answer
185
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 ...
127
votes
3
answers
165k
views
Difference between host name and domain name
What's the difference between Hostname and Domain name? especially in regards to NIC
Could someone please elaborate with examples as this concept is a little confusing
0
votes
2
answers
79
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 ...
30
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 ...
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: ...
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....
0
votes
1
answer
740
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...
...
7
votes
2
answers
44k
views
Get Hostname from IP address/MAC address
I have a list of IP addresses and MAC addresses connected to my local network, but I need to get the hostnames of each device, is there a command line or terminal (mac) command for this?
2
votes
1
answer
694
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
1
answer
556
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.