From 8e7b199d50bb9bc174ca229290318c6d093d5d96 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Mon, 9 Oct 2023 04:26:33 +0000 Subject: [PATCH] Prefer hostnames over IPs I feel like I flip-flop on this every couple years, and I'm not entirely sure what prompted this one (maybe the question of how to reach bots?), but probably I had a reason. --- local.d/augsburg.cfg | 3 ++- local.d/bots.cfg | 2 +- local.d/chankillo.cfg | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/local.d/augsburg.cfg b/local.d/augsburg.cfg index 2b6f231..ea87572 100644 --- a/local.d/augsburg.cfg +++ b/local.d/augsburg.cfg @@ -1,5 +1,6 @@ define host{ use adehnert-host ; Name of host template to use host_name augsburg - address 18.18.208.21 + #address 18.18.208.21 + address augsburg.dehnerts.com } diff --git a/local.d/bots.cfg b/local.d/bots.cfg index 6d9416d..b938957 100644 --- a/local.d/bots.cfg +++ b/local.d/bots.cfg @@ -1,7 +1,7 @@ define host{ use adehnert-host ; Name of host template to use host_name bots - address 192.168.123.18 + address bots.augsburg.vms.dehnerts.com } define service { diff --git a/local.d/chankillo.cfg b/local.d/chankillo.cfg index 95a8fa1..6c9fc28 100644 --- a/local.d/chankillo.cfg +++ b/local.d/chankillo.cfg @@ -1,7 +1,8 @@ define host{ use adehnert-host ; Name of host template to use host_name chankillo - address 18.18.208.22 + #address 18.18.208.22 + address chankillo.dehnerts.com } # SMTP is redundant with SMTP-SSL, since they use the same port -- 2.34.1