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
0
votes
0answers
20 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 ...
0
votes
1answer
32 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 ...
-2
votes
0answers
15 views

Custom Nameserver configuration - DNS Managed by Hosting Server

We have a reseller account with bluehost and the primary domain for the account is registered with Godaddy. The accounts were setup and managed by an ex-employee who left the company and we are trying ...
0
votes
1answer
36 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 ...
0
votes
0answers
16 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 ...
1
vote
1answer
51 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: ...
0
votes
0answers
51 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 ...
0
votes
1answer
65 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 ...
1
vote
1answer
98 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 ...
0
votes
1answer
17 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 ...
1
vote
0answers
40 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 ...
1
vote
1answer
188 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:...
0
votes
2answers
151 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 ...
0
votes
0answers
367 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 ...
-2
votes
1answer
81 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 ...
1
vote
1answer
134 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....
0
votes
1answer
78 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 ...
0
votes
1answer
151 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: ...
0
votes
0answers
41 views

Docker: Access machine by hostname in container

Despite starting my container with --network=host it seems that I cannot connect to my local machines by hostname inside the container (based on Ubuntu 18.04): # ping T540.local ping: T540.local: Name ...
0
votes
0answers
63 views

zimbra hotname and host file configure error

My domain is example.org and my subdomain is second.example.org. I set the hostname for Zimbra to mail.second.example.org. host file configure is <ip> <FQHN> <HN> = myipaddress mail....
0
votes
2answers
44 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:* ...
1
vote
2answers
139 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"...
3
votes
1answer
421 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 ...
0
votes
1answer
279 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 ...
0
votes
0answers
15 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
0
votes
1answer
95 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 ...
1
vote
0answers
163 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 -...
3
votes
1answer
375 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 ...
0
votes
1answer
33 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 ...
1
vote
1answer
31 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 ...
0
votes
0answers
30 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, ...
1
vote
1answer
763 views

How to block Hostname in htaccess?

I get thousands of server requests from "clients.your-server.de" i use these code in htaccess to block bots and spiders, but i did not know if the two first lines of code will work ... Is it ...
0
votes
1answer
922 views

Webmin redirects to my hostname instead of my domain name [closed]

I have Webmin working on a domain with an SSL certificate. However, when I visit it over HTTP, it redirects to https://hostname:10000 instead of the domain name. I've set the FQDN in /etc/hosts (...
1
vote
1answer
67 views

Can my Ceph nodes have the same hostname?

I have a high availability solution which requires me to have all my nodes using the same hostname. I've been tasked to use ceph cluster storage, but I just reached a dead end. I can't figure out how ...
0
votes
2answers
79 views

Add Linux hostname to Windows DNS GUI [closed]

In Windows Server 2008 R2, and in an Active Directory Environment, how can I add an alias hostname to DNS, so that all workstation will know the internal ip address of that alias hostname? I have a ...
0
votes
0answers
21 views

Issue with hostname on Windows Server 2012 domain controller

We moved sites recently and since the move I have been unable to get the DC to respond to pings / file locations using the hostname - it can be pinged fine, and I can ping the hostname from the DC ...
0
votes
1answer
308 views

Connect to FTP server without using hostname

I have a VPS with IP address: 54.432.212.12 There are multiple sites running on it. My IIS FTP site bindings are: Site 1 Bindings: 54.432.212.12:21:www.mydomain.com Physical Path: E:\mydomain\wwwroot ...
1
vote
1answer
668 views

What does "localhost name resolution is handled within DNS itself" mean?

I know that the Windows hosts file maps host names to IP addresses. But there is no mapping for localhost. Instead it has a comment that says this: # localhost name resolution is handled within DNS ...
0
votes
1answer
43 views

Hot to get external host names for each internal private addresses?

My lab has a private network like this (public address: 133.3.133.133, host name: my.lab.host.name) lab-gateway (private address: 192.168.0.1) |__labgpu01 (private address: 192.168.0.3) |__labgpu02 ...
0
votes
3answers
62 views

Is it OK to have Hostname domain different than the Nameservers domain?

I was wondering if hostname domain and nameservers domain can be different on my server. I have always kept them the same but now that I am moving my server, I do not want my clients to have the ...
0
votes
0answers
117 views

Why is there an error on running host program using git bash terminal?

I am using git bash as a terminal to run code. I doing a course where it has asked us to use the host program to look up host names using DNS. However when I run nslookup it works fine. screenshot of ...
0
votes
0answers
173 views

How to add SSL certificates for multiple VPS (Shared Hosting Servers) with the same primary domain?

I am planning 3 VPS shared hosting servers. Of particular focus in this question...they are also acting as mail servers. host1.mydomain.com host2.mydomain.com host3.mydomain.com (where "mydomain" ...
0
votes
1answer
39 views

After a Postfix mail server is installed do I need to add mail.example.com to the hosts file?

Environment: CentOS, Postfix, Dovecot, Digital Ocean droplet My /etc/hosts file contains these lines. # The following lines are desirable for IPv4 capable hosts 127.0.0.1 example.com example 127.0.0....
0
votes
0answers
19 views

Using postfix without being able to set custom hostname

As the title suggests I am using a VPS that does not allow me to set a custom hostname. On every reboot the hostname is reset to their specification. Can I still run a postfix mail server on this ...
1
vote
1answer
678 views

Windows not resolving local hostname to hosts file IP

I have a multi-homed Windows 10 and I want my application to open a Server Socket on a specific IP given by its hostname. My machine hostname is MY-PC and it has a public IP 192.0.0.2/24 and a "...
0
votes
1answer
63 views

Do private hostnames correlate with or have any direct effect on public hostnames on a running webserver?

I am running a LEMP webserver on my Raspberry pi using Rasbpian. The name of my my pi's hostname is raspi-host123. My local hosts file on my server looks like this: 127.0.0.1 localhost ...
0
votes
1answer
269 views

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:...
-1
votes
1answer
86 views

Problems resolving hostnames on LAN in CentOS

I have a CentOS 7.7 server up and running, which I am trying to access from other CentOS machines on LAN. Unfortunately, I am not able to reach the hostname from other machines. How can I solve this ...
0
votes
1answer
719 views

CWP: Setting up name servers and web panel at new server

I have installed CentOS Web Panel on my digital ocean droplet. I can access web panel using IP, and I have my domain example.com on name cheap. I wanted to: Access web panel using srv.example.com ...
0
votes
0answers
40 views

If the certificate CN is different from a server's public DNS name, are SANs the way to go?

I am aware that hostname verification is required for an SSL handshake to be successful, and is vital for security reasons (i.e. MiTM attacks). That said, AWS automatically assigns public DNS names ...

1
2 3 4 5
13