diff dns_check.py @ 81:bf1573dd1947

dns fixes
author drewp@bigasterisk.com
date Sun, 26 Jun 2022 01:40:48 -0700
parents fb68881b79a0
children 3af02e24eaf9
line wrap: on
line diff
--- a/dns_check.py	Sat Jun 18 13:42:10 2022 -0700
+++ b/dns_check.py	Sun Jun 26 01:40:48 2022 -0700
@@ -1,9 +1,8 @@
 # run key dns lookups everywhere
 import tempfile
 
-import requests
 from pyinfra import host
-from pyinfra.operations import apt, files, server, systemd
+from pyinfra.operations import server
 
 
 def check(name, addr):
@@ -29,7 +28,6 @@
 projects.bigasterisk.com
 etc
 
-(or another idea: wireguard everywhere all the time)
 '''
 
 if host.name in ['dash', 'bang', 'slash']:
@@ -47,7 +45,7 @@
     check('slash', '10.5.0.6')
 else:
     check('bang', '10.2.0.1')
-    check('slash', '10.2.0.127')
+    check('slash', '10.2.0.145')
 
 check('bang5', '10.5.0.1')
 check('prime', '10.5.0.2')