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
0
votes
1 answer

When I do a ping for my CentOS 8 web server, it shows a name that is not the hostname or domain name. where is it getting it from?

I have set my hostname like this: $ sudo hostnamectl set-hostname dev.mydomain.com and I see it got set when I do this: $ hostnamectl status Static hostname: dev.mydomain.com Icon name: computer-vm Chassis: vm …
Nick Weavers
  • 501
  • 4
  • 8
-1
votes
1 answer

Pointing to another domain using CNAME

I would like to point a subdomain to be displayed in another external domain using CNAME flattening. e.g. book.webbangkok.com to be displayed at property.thailandbusinessconsultant.com In webbangkok.com DNS, I have created the CNAME blog to the…
-1
votes
1 answer

Configure bind9 zone records to ping/dig/nslookup/web browse using hostname only or fqdn

What is the proper way to configure a BIND9 zone file to allow ping/dig/nslookup/web browsers to query a host using its hostname or a shortened CNAME record that points to this hostname instead of the entire fqdn of the host. Example: This…
thursDave
  • 55
  • 1
  • 1
  • 5
-1
votes
1 answer

How do I setup Sendmail and the FQDN for use with server images

I have loadbalancer sitting infront of serveral webservers. The website served up has a contact form that uses sendmail. I have installed sendmail on one of these webservers: web-01 This is the hostname of the machine. I have gone into the…
-1
votes
2 answers

How to get the IP address of a known hostname in Linux?

I have a device in a public network (I'm not the owner/admin of the WiFi) and I want to know if there is a way to get the devices IP address by knowing its hostname from a second device in the same network?
Fipsi
  • 113
  • 4
-1
votes
2 answers

Why is my email being sent through a strange hostname?

A client's email is handled by G Suite. When I check senderscore.org a strange sending IP and hostname (mail.jbsgroup.ie) appears amongst other Google-related hostnames. This particular domain belongs to another organisation in the locality. Can…
Darren
  • 1
-1
votes
3 answers

Is there a way to ssh using hostname alias without modifying the etc/hosts file?

I spent hours researching how I can automate 100s of hosts that are all under one local domain. (i'm on a ubuntu linux 17.04 machine) For example, I have node1.domain.org, node2.domain.org, and the list goes to node100.domain.org it is practically…
-1
votes
1 answer

When do I actually need a FQDN?

I've been reading the guides on linode about setting up a server to host websites. One concept that bothers me most is FQDN. From what I've read, FQDN is very important and it MUST be set. In my actual case, I've been running 2 linode servers for…
shenkwen
  • 199
  • 2
  • 14
-1
votes
1 answer

VMs are stealing hostnames of other running VMs

When I deploy a fresh CentOS VM with DHCP enabled onto our corporate sandbox ESXi host, it sometimes steals the hostname of another running VM while booting up. My gut feeling is that this is a serious security problem or at least a nasty…
JohnEye
  • 409
  • 1
  • 5
  • 12
-1
votes
2 answers

How do I get the name of the host (based on ip)?

I am not going to disclose the public IP address here , but is there a way on to get the name of the hosting PC / Server . Thanks
Yuval
  • 7
  • 2
-1
votes
3 answers

Getting hostname on CentOS 6.6 from command line

In the command below, I'm trying to get the hostname of the server I'm logged into. Please note that I'm on the actual server and not ssh'ed into another server!! I'm trying to get the hostname. Our server administrator was telling me the…
JustBeingHelpful
  • 1,964
  • 7
  • 37
  • 53
-1
votes
3 answers

How to get list of all the hostname / DNS of the Linux box

I have a Linux box and I know I can get the list of IP addresses assigned to that box using following command /sbin/ifconfig -a but how to I get the list of hostnames / DNS for that Linux box using single command? Why I asking this is because using…
hagrawal7777
  • 123
  • 1
  • 3
  • 12
-1
votes
3 answers

What hostname and rDNS should I choose?

What should I set as hostname and rDNS? 1 server 3 domains (domain1.com, domain2.net, domain3.de) 1 mail server for each domain My current settings: /etc/hosts 127.0.0.1 localhost 11.22.33.44 domain1.com 11.22.33.44 www.domain1.com 11.22.33.44…
John Doof
  • 179
  • 3
  • 10
-1
votes
2 answers

Suddenly, domain name can not be resolved - What happened?

My domain is buycott.com When I run ping buycott.com in the command line, it's timing out. It's been working fine for over a year, and suddenly I'm seeing these timeouts of nowhere? When I use most DNS lookup sites, they're able to resolve it. When…
culov
  • 99
  • 1
  • 3
-1
votes
2 answers

What's the correct way to propagate a host's IP address change on a LAN?

On Ubuntu, when I change my eth0 network interface configuration between static and DHCP, the interface settings are updated nicely, but there seems to be a problem updating the DNS. Before changing, I can refer to the Ubuntu machine from Windows 8…
doughgle
  • 99
  • 7