mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-10-31 01:57:59 +00:00 
			
		
		
		
	syntax error
This commit is contained in:
		 Florent Daigniere
					Florent Daigniere
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							a2f6243382
						
					
				
				
					commit
					a9da0c084a
				
			| @@ -38,9 +38,9 @@ def test_DNS(): | |||||||
|                 result = resolver.query('example.org', dns.rdatatype.A, dns.rdataclass.IN, lifetime=10) |                 result = resolver.query('example.org', dns.rdatatype.A, dns.rdataclass.IN, lifetime=10) | ||||||
|             except Exception as e: |             except Exception as e: | ||||||
|                 log.critical("Your DNS resolver at %s is not working (%s). Please use another resolver or enable unbound via https://setup.mailu.io.", ns, e); |                 log.critical("Your DNS resolver at %s is not working (%s). Please use another resolver or enable unbound via https://setup.mailu.io.", ns, e); | ||||||
|             elif result.response.flags & dns.flags.AD: |  | ||||||
|                 break |  | ||||||
|             else: |             else: | ||||||
|  |                 if result.response.flags & dns.flags.AD: | ||||||
|  |                     break | ||||||
|                 log.critical("Your DNS resolver at %s isn't doing DNSSEC validation; Please use another resolver or enable unbound via https://setup.mailu.io.", ns) |                 log.critical("Your DNS resolver at %s isn't doing DNSSEC validation; Please use another resolver or enable unbound via https://setup.mailu.io.", ns) | ||||||
|             time.sleep(5) |             time.sleep(5) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user