Displaying 20 results from an estimated 30000 matches similar to: "Short or long hostname ?"
2019 Apr 10
2
Short or long hostname ?
On 4/10/19 8:23 AM, Simon Matter via CentOS wrote:
>> Hi,
>>
>> For the last ten years or so, I've defined the short hostname in
>> /etc/hostname and the FQDN in /etc/hosts. Now I wanted to double-check
>> this information, which eventually led me to this page:
>>
>> *
>>
2019 Apr 10
0
Short or long hostname ?
> Hi,
>
> For the last ten years or so, I've defined the short hostname in
> /etc/hostname and the FQDN in /etc/hosts. Now I wanted to double-check
> this information, which eventually led me to this page:
>
> *
> https://serverfault.com/questions/331936/setting-the-hostname-fqdn-or-short-name
>
> Now I admit I'm even more confused than before.
>
> Is
2019 Apr 10
0
Short or long hostname ?
>
>
> On 4/10/19 8:23 AM, Simon Matter via CentOS wrote:
>>> Hi,
>>>
>>> For the last ten years or so, I've defined the short hostname in
>>> /etc/hostname and the FQDN in /etc/hosts. Now I wanted to double-check
>>> this information, which eventually led me to this page:
>>>
>>> *
>>>
2018 Jun 25
2
Postfix, system notifications and local servers
Hi,
I have CentOS 7 running on half a dozen public servers. For some stuff
like automatic updates using yum-cron, I have Postfix installed with a
relatively basic configuration. This allows me to send important
notifications to my mail address info at microlinux.fr. When there's a
batch of updates, I get one mail per machine, so I can check quickly if
everything went OK without having to
2019 Jan 02
2
Erratic local hostname resolution with Dnsmasq
Hi,
My local server is running CentOS 7. The machine has two NICs and is
acting as a gateway. For DHCP and DNS, I'm using Dnsmasq. I have a
strange little problem with local hostname resolution. Before going into
more details, here's my configuration.
[root at nestor:~] # ifconfig
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.2 netmask
2019 Sep 19
3
Postfix vs. Thunderbird on Mac OS
Hi,
I'm running our local school's mail server on CentOS 7, Postfix and
Dovecot. We get quite a lot of spam, so I have the following sender
restrictions in my /etc/postfix/main.cf:
--8<------------------------------------------------------
# Restrictions SMTP
smtpd_helo_restrictions = reject_unknown_helo_hostname
smtpd_sender_restrictions = reject_unknown_sender_domain,
2019 Dec 26
1
Nginx on CentOS 7: which one for production?
Le 26/12/2019 ? 18:44, Kenneth Porter a ?crit?:
> I suggest using the upstream package. Instructions can be found here:
>
> https://nginx.org/en/linux_packages.html#RHEL-CentOS
OK
>
> There's some conflicting information about how to set up your virtual
> servers in /etc in various blogs. Look at the official documentation to
> see their recommended setup. Most of
2010 May 06
2
Pre-sign "offline" servers?
How can I pre-sign a server which doesn''t yet have a domain pointing
to it?
I''m trying to get an EC2 "base image" together which is pre-signed
with our master, so I can spin-up as many instances as required. These
instances which will all share the same characteristics and files
(they''re basically dupes), and will all sit behind a load-balancer, so
2019 Feb 20
3
Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
Hai,
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Mgr.
> Peter Tuharsky via samba
> Verzonden: woensdag 20 februari 2019 10:28
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Samba + BIND9 DLZ. DNS dosen't resolve
> FQDN, only short hostname
>
> Well, the mystery is solved. It WAS Avahi, in a way...
2016 Apr 05
4
How to set hostname and domainnmae in CentOS 7?
We can permanently set hostname using hostnamectl set-hostname. How can we
permanently set *domain name* in CentOS 7?
I found an article
<http://unix.stackexchange.com/questions/239920/how-to-set-the-fully-qualified-hostname-on-centos-7-0>
that recommended setting FQDN using hostnamectl. Is that the right way to
set hostname and domainname at the same time using *hostnamectl
set-hostname*
2018 May 15
5
CentOS 7.5 (1804) and NetworkManager
Hi,
I'm running CentOS on all kinds of setups: servers, workstations,
desktops and laptops.
Up until now, I'm only using NetworkManager on laptops, since it makes
sense to use it there. On servers and desktop clients, I usually remove
it and configure the network "traditionally" by simply editing
/etc/sysconfig/network-scripts/ifcfg-whatever, /etc/resolv.conf,
/etc/hosts,
2001 Sep 28
3
openssh-2.9p2, short hostnames
For systems where the local hostname is obtained as a short name without
domain, there should be a ssh_config option "DefaultDomain" as in ssh-3.x
from ssh.com.
For the server, there might be a corresponding option in order to strip
the domain name from the remote client name (if it matches the server's
DefaultDomain) for use in auth_rhost2, since netgroups usually contain
short
2019 Jan 11
2
Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
> >
> > Please, does somebody have a clue, what goes wrong here?
> >
> >
> >
>
> Nope, haven't got a clue ;-)
Not? Rowland not? really.. ;-)
I'm a gambler so here you go ;-)
Hmm, first 3 guesses..
Typos in primary DNS/Search domain. ( /etc/resolv.conf )
Typos in /etc/hosts
Why.
Ping host works ( host file ) ip host.fqdn host
Ping host.fqdn
2019 Jan 20
2
Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
Rowland, thank You for advice.
I can manage standard A records, but not sure, what to do with the NS. I
can't figure out, how to delete invalid A subrecord of NS record.
I'm afraid to experiment much. Please, could You point me to some
working example?
Peter
Dňa 12. 1. 2019 o 15:00 Rowland Penny via samba napísal(a):
> On Sat, 12 Jan 2019 10:35:59 +0100
> Peter Tuharsky via
2010 Mar 21
2
Bug#574858: logcheck: Does not ignore unresolvable hostname
Package: logcheck
Version: 1.3.7
Severity: normal
After installing logcheck on a system it posted an error to the cron
mail address hourly. An untrapped script error was posting stderr
output to cron. It originated here:
# Hostname either fully qualified or not.
if [ $FQDN -eq 1 ]; then
HOSTNAME="$(hostname --fqdn)" > /dev/null 2>&1
else
2019 Jan 10
3
vsftpd rejects users set to nologin
On Thu, 10 Jan 2019 at 16:09, Kenneth Porter <shiva at sewingwitch.com> wrote:
> I updated to CentOS 7.6 and something must have changed in the base OS
> setup that prevents vsftpd from allowing logins for accounts with
> /sbin/nologin as their shell. I had to add that to /etc/shells so that
> such
> accounts could FTP again. That file is in the setup package. Did it
>
2019 May 03
5
No network on cloned CentOS 7 installation
Hi,
I have a few identical Dell Optiplex 7010 machines that I want to use
for our school's computer room. I tried to clone these installations
(like I did before on CentOS 5 and various versions of Slackware), but
this time I ran into a problem.
Here's what I did.
1. Install one computer and zero unused hard disk sectors with dd.
2. Send the image to a local FTP server using G4L
2020 Aug 13
1
Docker swarm service misconfigured in FirewallD / CentOS 7
Hi,
I'm currently fiddling with Docker Swarm on three sandbox servers running
CentOS 7.
Unfortunately I couldn't get even the most basic configuration running. After
some experimenting and investigating, it turns out there's a problem with
FirewallD.
Here's what I did first on every single node.
# firewall-cmd --permanent --add-service=docker-swarm
# firewall-cmd --reload
I
2011 Mar 07
5
/etc/hosts - hostname alias for 127.0.0.1
Can anyone point out reasons why it might be a bad idea to put this
sort of line in your /etc/hosts file, eg, pointing the FQDN at the
loopback address?
127.0.0.1 hostname.domain.com hostname localhost localhost.localdomain
2012 Feb 08
2
fqdn hostname fails after reboot
Hi,
I have several machines running CentOS 6.2 and a strange problem with
the hostname of one machine... After every reboot it loses the fqdn
hostname.
Here is my confguration:
ifconfig | grep "inet addr"
inet addr:10.0.0.12 Bcast:10.0.0.255 Mask:255.255.255.0
inet addr:127.0.0.1 Mask:255.0.0.0
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=x800.mydomain.local