Skip to main content

Questions tagged [hostname]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
215 views

OpenTelemetry collector - host.name is always localhost

I use otelcol-contrib (v0.95.0) to retrieve system logs from many hosts and send them to a self-hosted OpenObserve instance. For 2 hosts, the field host.name is correctly set with the correct hostname,...
Antwane's user avatar
  • 175
-1 votes
1 answer
145 views

Hostname and DNS for embedded devices in LAN

I'm not able to find an explanation or even related questions since I don't know exactly what is the problem and the correct keywords to use. I'm a firmware guy and often I develop code that enables a ...
Mark's user avatar
  • 163
0 votes
0 answers
47 views

Zyxel GS1920 IPv6 switch does not provide hostname to DHCP server

I have setup IPv6 in my network. All Zyxel switches do not provide an hostname to the dhcp-server for IPv6. For IPv4 they do! Is there any setup, e.g. via dhcp-options, to make the switch transmit the ...
Kallewirsch's user avatar
0 votes
0 answers
57 views

Linux server management debian 10 and centos dhcp service host-name based Client Classing

I want to allocate a client's IP address based on the host-name provided by the client, but the results are often unpredictable. I have tried to imitate the Client Classing in dhcpd.conf(5) by ...
CHgeronimo's user avatar
0 votes
1 answer
296 views

DHCP reservations by hostname and router lease

I'm French sorry if the wording is not perfect. To give you a little context, I don't have any diploma in IT but I joined my colleague in the IT department of our company. He's been dealing with this ...
RodolpheFR's user avatar
0 votes
2 answers
289 views

Ubuntu 22.04 fresh mail server install - hostname

At a fresh new install of Ubuntu, what should I set as hostname? I'm trying to set a mail server at my local servers with Ubuntu/Postfix, but I'm facing some issues along the way. For this, while ...
rd1218's user avatar
  • 161
0 votes
1 answer
57 views

Using custom nameservers

In Godaddy I have a domain example1.com and www.example1.com with valid A record to my Centos 7 server's IP. I 've created hostnames for that domain, ns1.example1.com, ns2.example1.com with the same ...
Michael Chourdakis's user avatar
1 vote
1 answer
722 views

IIS 10 website with hostname served by Default Web Site

I have configured some websites in IIS on my Windows VPS. When I am accessing this subdomain installer.app-wards.com from the server, it's going to the wwwroot folder from Default Web site instead of ...
Peekyou's user avatar
  • 113
0 votes
2 answers
2k views

Node.js: IP generated from my web hosting domain is "not available" (can't setup a https server)

I'm creating a brutally simple HTTPS server on render.com using Node.js, which upgrades to WebSocket communication. Here's the code: const https = require('https'); // Create an HTTP ...
Lubos Chlebicki's user avatar
0 votes
1 answer
2k views

Serving 2 different websites from the same IIS server on the same port

I have 2 different websites: mysite.com api.mysite.com I want to be able to serve both of these websites from the same webserver (same IP) and same port number. I have followed this document, and ...
Hooman Bahreini's user avatar
0 votes
1 answer
140 views

My website is available if I type the hostname ip in the broswer, How to fix

My website is available if I type the hostname ip in the broswer How to fix this and redirect it to my website or what to do? I manage to found some info in previous similiar answers server block with ...
Crypto Coupons's user avatar
3 votes
2 answers
749 views

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 ...
Mikkel Rev's user avatar
0 votes
1 answer
943 views

hostname changed without me changing anything

My hostname changed to "cpe-172-101-0-1.maine.res.rr.com systemd-resolved" without my consent on fedora 37. When i type journalctl -u systemd-hostnamed.service journalctl -xe entry is: févr. ...
user avatar
3 votes
1 answer
708 views

How to make systemd journal remote use hostname instead of IP address?

I do have one log server which runs systemd journal remote software to receive journal entries from remote hosts via systemd journal upload. This works fine. The only trouble that I have is that the ...
antonio's user avatar
  • 41
0 votes
1 answer
779 views

How to Make the IP Address Appear as Part of Bash Prompt?

Running an Amazon EC2 instance with Ubuntu 22.04. The elastic ip address is 52.120.94.72. I want the bash prompt to read like this (no space) [email protected]:~/working_directory$ Based on some ...
Della's user avatar
  • 225
4 votes
1 answer
3k views

reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your reverse hostname

Sending an email from my local network is going fine. Also through Thunderbird or remote with Roundcube, which is locally installed. But now, I am in Asia and try to send an email with Thunderbird. ...
Zilvermeeuw's user avatar
2 votes
1 answer
6k views

Nmap unable to resolve hostnames

I have tried running several nmap commands and I can't get the results to return host names. My results look like this: Nmap scan report for 10.2.16.253 Host is up (0.0025s latency). All 1000 scanned ...
UbuntuNoob's user avatar
0 votes
1 answer
950 views

ESXi using DHCP, IP is accessible, Host Name isn't

I have a brand new ESXi host, configured for dynamic IP via DHCP, and I can access the web interface with the IP address, but not the host name. I thought (with a very shallow understanding, to be ...
Gordon's user avatar
  • 175
1 vote
1 answer
15k views

Docker: error could not translate host name to address: Name or service not known in psql

We have the following Dockerfile: FROM debian:stable-slim ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get full-upgrade -y && apt-get install -y --no-install-...
Munchkin's user avatar
  • 133
0 votes
1 answer
229 views

How to add multiple hostnames in private DNS zone in Azure to resolve hostnames for VNET?

I have an AKS (Azure Kubernetes cluster) that is on a VNET (Azure Virtual Network) that needs to connect to multiple On-prem hadoop machines to read/write data. I have a private DNS zone connected to ...
Venkatesh Gotimukul's user avatar
0 votes
1 answer
506 views

Variables on set-hostname and mv command in shell script

I have the below script in Shell: read n for ((i=1;i<=$n;i++)) do echo "Connecting to $publicip" ssh -i ./key.txt root@$publicip 'hostnamectl set-hostname autotest$i.domain.com && ...
serverstackqns's user avatar
2 votes
1 answer
6k views

Multiple hosts with the same hostname on the same network?

Hypothetical situation: I have two (Linux) computers on the same network with the same hostname, but different FQDNs (foo.example.com and foo.example.org). They have different MAC addresses, and get ...
QF0's user avatar
  • 223
0 votes
1 answer
695 views

Sendmail does not masquerade the hostname.domain combination

My MASQUERADE settings looks as follows... dnl # Also accept email sent to "localhost.localdomain" as local email. dnl # LOCAL_DOMAIN(`localhost.localdomain')dnl dnl # dnl # The following ...
Mike's user avatar
  • 1
0 votes
1 answer
426 views

nslookup script for return empty hostnames

I want to write script which returns hostnames with no IP. I wrote following part of the script but I don't know how can I return the empty answers. Thanks in advance $numbers=1..255 foreach ($number ...
Rashad Aliyev's user avatar
0 votes
1 answer
225 views

Construct public ipv6 adress from hostname of router and interface id of client [closed]

I'm trying to ssh to some client behind a router that has a dynamic IPv6 address. Directly using the public IPv6 address of the client works just fine. Now, I'd like to dynamically construct the IPv6 ...
dba's user avatar
  • 178
0 votes
1 answer
831 views

How to use hostnames in smtp_bind_address in Postfix configuration?

It seems that Postfix does not allow hostnames in the smtp_bind_address config parameter. But it does allow hostnames in inet_interfaces. For SPF I want to make sure which address SMTP-clients bind to ...
Robert Siemer's user avatar
1 vote
1 answer
1k views

FQDN without the hostname part?

As far as I know, A fully qualified domain name (FQDN) consists of two parts: The hostname part: A single label representing a machine belonging to one specific domain. The domain name part: ...
gossac's user avatar
  • 21
0 votes
0 answers
2k views

Pfsense : using the server to resolve hostnames as ip in local vlans

I made a network with 3 machines, one is a pfsense server that manage a captive portal, a dns, dhcp server and firewall rules, it is in a trunk network. The second pc is a server hosting some services ...
Spark_TheCat's user avatar
0 votes
1 answer
248 views

SSH from Windows 10 to Manjaro Linux using its hostname [closed]

I am using PuTTY to connect to a Lunix machine on local network via ssh and it works fine if I specify the IP address. However I cannot do it using the machine's host name. It seems that Windows ...
tereshkd's user avatar
1 vote
1 answer
924 views

Setting up dnsmasq as a DNS and DHCP server on a LAN

My routers: Main Router: 192.168.100.1 Second Router: 192.168.101.1 The Main Router is provided by my ISP(a modem/router combo all in one). I don't have control over its settings. Except for ...
Kavish Gour's user avatar
0 votes
1 answer
202 views

DigitalOcean Droplet ssh to use a named key

It's been a while since I've done this and configured ssh keys. I generated an ssh key with a different file name than id_rsa I have a DigitalOcean Droplet where I placed a named ssh key pair on ...
Kyle Calica-St's user avatar
1 vote
0 answers
401 views

Transient hostname was changed in a server

In one of our production server automatically set transient hostname. hostnamectl status shows Static hostname: abc11.example.com Transient hostname: I Icon name: computer-vm ...
Sachith Muhandiram's user avatar
1 vote
1 answer
4k views

Ansible can't set hostname

Im facing a problem with ansible. I'm trying to set the local hostname of the vm to the ansible inventory name. my task looks like this: - name: set hostname to {{ inventory_hostname }} hostname:...
friedulman's user avatar
0 votes
2 answers
1k views

DNS suffix not being used with windows server hostnames over VPN

Our internal network is a windows domain, contoso.net. Internally, if a user needs to get to a file server share, they can navigate to \\fileserver\share or \\fileserver.contoso.net\share and both ...
stevenmiller's user avatar
0 votes
0 answers
1k views

The ssh agent cannot 'resolve hostname' when called from within a bash script

I have a bash script #!/bin/bash scp -r some_directory remote_host:~ which I made executable with chmod u+x. The remote_host has been defined in my .ssh/config as follows: Host remote_host HostName ...
Marlo's user avatar
  • 105
-2 votes
1 answer
290 views

Connecting subdomain to a server as hostname

I have my website (mydomain.com) connected with a vps server and now I want to setup another server and use subdomain from main domain for hostname as well the nameservers (e.g. srv1.mydomain.com ...
Alena's user avatar
  • 97
3 votes
1 answer
6k views

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....
huang06's user avatar
  • 31
0 votes
1 answer
177 views

Debian 10 MX hostname issue

I am facing an issue where every single site like intodns, dnsstuff, mx toolbox is reporting that i have 2 issues. Namely: Reverse DNS does not contain the hostname Reverse DNS does not match SMTP ...
AlifOpenSrc's user avatar
0 votes
1 answer
945 views

Ubuntu set hostname via hostnamectl with multiple virtual hosts

I would like to set the hostname of my Ubuntu 16.04 to a FQDN, as I plan to install Postfix server. However I have multiple domains hosted in the web server via Apache2 virtual hosts. For example: ...
Raptor's user avatar
  • 1,041
0 votes
2 answers
410 views

change the hostname for a given service

I have 2 services running on my server. The first python service is working as expected. # netstat -tulpn | grep LISTEN | grep 8888 tcp 0 0 0.0.0.0:8888 0.0.0.0:* ...
shantanuo's user avatar
  • 3,639
1 vote
2 answers
909 views

What causes a computer/phone/device to do a DNS lookup for its own hostname?

The two main things I'm wondering are: What causes a computer/phone/device to do a DNS lookup for its own hostname/FQDN How long after a device leaves a network will it retain the "settings"...
kimbo's user avatar
  • 63
4 votes
1 answer
3k views

how to setup dnsmasq for DNS for private and public hostnames via different DNS servers [duplicate]

lets say i have this private hostname dev.private.example.com that is only accessible in a private network over VPN connection and i have prod.example.com that is accessible to the internet. I have ...
uberrebu's user avatar
  • 523
0 votes
1 answer
1k views

Can not ping any hostname/domain when ufw enabled

Why I can't ping any domain/hostname when ufw enabled? [root@ip-172-31-23-37 ec2-user]# ping google.com ping: google.com: Name or service not known [root@ip-172-31-23-37 ec2-user]# ufw disable ...
Muhammad Dyas Yaskur's user avatar
0 votes
0 answers
109 views

Add user home directory depending hostname

Is it possible to add a list of users and change the home directory of each user depending on the host name of the server? Thanks in advance
Markus Tosi's user avatar
0 votes
1 answer
381 views

How to identity who is scraping my website?

I have an e-commerce website, hosted on AWS. I understand there are tools that prevent/block the scraping bots. But is it possible to detect who is scraping my website? I mean, would I be able to ...
Hooman Bahreini's user avatar
1 vote
0 answers
942 views

Changed hostname, openssl s_client not working

I changed a CentOS 6 GNU/Linux hostname, and now everything is perfect regarding the new hostname. But when executing openssl commands, such as: # openssl s_client -CApath /etc/ssl/certs -showcerts -...
HeCSa's user avatar
  • 36
5 votes
1 answer
2k views

How to find another container on the same ECS cluster by hostname?

This question feels too obvious to not already have an answer but all of my google searches are coming up with nothing. In docker (docker-compose) you can easily get the IP of another container by ...
Philip Couling's user avatar
0 votes
1 answer
91 views

Ping server remotely timed out

I recently setup local Ubuntu server to host VS Code and NGINX servers which work fine on codeserver (hostname) and can ping the hostname and IP address remotely. The problem I am facing is that I ...
William Jerome's user avatar
1 vote
1 answer
40 views

WinServer Connects To SMB Share As "TINA2"

I have a computer that has a fileshare (Windows Server 2012). When I looked at the sessions, I saw a computer named tina2. There is no current computer on our network named tina2. When I ...
Black Dynamite's user avatar
0 votes
0 answers
110 views

Accessing servers through hostname now requires FQDN?

After upgrading to Linux Mint 20, the servers (pgsql databases and windows network share) on our internal network now require the fully qualified domain instead of just the machine name. For example, ...
Inactivated Account's user avatar

1
2 3 4 5
13