Questions tagged [hostname]

Hostname is a label assigned to a device connected to a computer network used to identify the device.

A hostname is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may have appended the name of a DNS domain, separated from the host specific label by a period (dot). In the latter form, a hostname is also called a domain name. If the domain name is completely specified including a top-level domain of the Internet, the hostname is said to be a fully qualified domain name (FQDN).

Hostnames that include DNS domains are often stored in the Domain Name System together with IP addresses of the host they represent for the purpose of mapping the hostname to an address, or the reverse process.

Source: Wikipedia.

624 questions
3
votes
4 answers

Debian Hostname refusing to stick

I'm using VirtualBox for testing and have the latest stable Debian. When I try to set the hostname of the machine using both: hostname ayil and editing /etc/hostname and running /etc/init.d/hostname.sh start to make sure it activated. Whenever I…
digital
  • 345
  • 6
  • 13
3
votes
2 answers

How can I find the domain (fqdn) for my machine if hostname doesn't return domain info and domainname returns empty?

As per the this question's title, hostname doesn't return domain info and domainname returns empty. I want to find out the full machine and domain for the machine I'm using (Mac OS X 10.5.8). How can I go about doing this? Tks.
None
3
votes
2 answers

Changing hostname for the purpose of email delivery

I have email delivery issues, and MXtoolbox says "Reverse DNS is not a Valid Hostname". I have A and AAAA records for domain.com and mail.domain.com. The data center has set up reverse DNS to domain.com. I have found this and this thread where users…
Mikkel Rev
  • 147
  • 9
3
votes
1 answer

How to change the hostname on the single-node K8s node

Environments: OS: Ubuntu 18.04.5 LTS Kubernetes: v1.16.15 deployment tool: kubeadm v1.16.15 I initialize a single-node K8s on my workstation with the following configuraions: --- apiVersion: kubeadm.k8s.io/v1beta2 kind:…
huang06
  • 31
  • 1
  • 2
3
votes
2 answers

lvs vs haproxy vs ? for hostname based forwarding

i'd like to forward incoming traffic on 80 to various ports based on the hostname. previously on serverfault i've seen solutions that uses ldirectord, just iptables, haproxy, and other proxy servers. considering that i'm looking for simply proxying,…
Bosky
  • 315
  • 1
  • 3
  • 7
2
votes
0 answers

Can't reach own host URL from within Jenkins build docker environment

I am running Jenkins as Docker image (https://hub.docker.com/_/jenkins) From within, I run a node-12 docker image as build container. I am running a script to publish the new version to our local app store, which runs on the same VServer. So now the…
2
votes
1 answer

Call the openvpn server by it's hostname

I use an openvpn infrastructure with a server and some clients. The clients can call each other via their hostnames, but cannot reach the server in the same way. At the moment it is possible to reach the server via its IP address. How can I transfer…
Santobert
  • 23
  • 1
  • 4
2
votes
0 answers

Can connect to kafka, but cannot consume

I have a 3 broker kafka cluster set up in an AWS VPC with kubernetes, I am using the https://github.com/Yolean/kubernetes-kafka repo for this. I'm having the strange issue of being able to connect internally, produce and consume messages fine. When…
Daniel Cull
  • 121
  • 3
2
votes
2 answers

Where are PuTTY host names stored

On a server we have a script running some PuTTY PSCP: pscp -v -sftp target-host:/some-path/* some-local-path target-host is neither an IP nor and hostname like some.server.com but a single word, like an alias. I've looked into the Windows hosts…
Pragmateek
  • 151
  • 2
  • 7
2
votes
1 answer

Nginx bind to external IP only (listen hostname:port)

I'd like to specify an nginx server that listens only on external IP of an hostname given in listen directive. My server has domain name foobar.example.com which resolves to public IP 1.2.3.4. When I configure nginx server like this server { …
woky
  • 245
  • 3
  • 10
2
votes
2 answers

Displaying complete host name when login to linux

How can I display hostname along with user when I login to Linux machine? Now I can see only part of host name where I could not able to identify the server name. would like to display as below; For example: [centos@yourfullhostname]$ if changed to…
guru
  • 33
  • 3
2
votes
1 answer

ping and hostname in windows

In my machine with windows OS installed, under system information, there are 3 pieces of information, namely, computer name : desktop-1, full computer name : desktop-1.d1.d2.d3 and domain: d1.d2.d3 When i try to ping this machine, "ping desktop-1",…
2
votes
1 answer

Problems with endpoint host name containing emoji

Recently while testing my application I stumbled upon the possibility to change the computer name of a windows device (probably also possible with unix and any other OS but did not test with that) to contain an emoji (). Now I started to wonder if I…
Pungrammer
  • 45
  • 1
  • 6
2
votes
2 answers

Setting a new hostname for my GCE Debian/Linux Instance

I'm trying to figure out how to set a new hostname for my GCE Instance running Denial Linux I came about many different "solutions" so I got a bit lost. I would like to know what is the best practice to achieve it. Also do I need to change…
2
votes
1 answer

Where is the "search" line in my resolv.conf coming from?

This is what my resolv.conf looks like: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 46.38.225.230 nameserver 46.38.252.230 search…
Azsgy
  • 123
  • 6