Prefer hostnames over IPs
authorAlex Dehnert <alex@dehnerts.com>
Mon, 9 Oct 2023 04:26:33 +0000 (04:26 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Mon, 9 Oct 2023 04:34:27 +0000 (04:34 +0000)
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
local.d/bots.cfg
local.d/chankillo.cfg

index 2b6f231f85aba2095b64bc957eb7e108eb04b1b5..ea8757283babf7112002ebc1d31223af7b82d31e 100644 (file)
@@ -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
 }
index 6d9416d380fcc9d9a34a0cb9c83b007cb6c8fa6b..b9389579b5e6dc616328ecdc732732508cc2e98d 100644 (file)
@@ -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 {
index 95a8fa12e278966c5adfacea693bd4f6eda24771..6c9fc281f9c8ac9269c78110d60e55f2f7c2a918 100644 (file)
@@ -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