mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[mod] use quad9 dns for connectivity checks when lxc
https://www.quad9.net/about/ https://bgp.tools/as/42#whois
This commit is contained in:
		
							parent
							
								
									f1f0dfd231
								
							
						
					
					
						commit
						81aaca8f44
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -556,7 +556,7 @@ EOF | ||||||
| check_connectivity() { | check_connectivity() { | ||||||
|     local ret_val=0 |     local ret_val=0 | ||||||
|     info_msg "check internet connectivity ..." |     info_msg "check internet connectivity ..." | ||||||
|     if ! lxc exec "${1}" -- ping -c 1 8.8.8.8 &>/dev/null; then |     if ! lxc exec "${1}" -- ping -c 1 9.9.9.9 &>/dev/null; then | ||||||
|         ret_val=1 |         ret_val=1 | ||||||
|         err_msg "no internet connectivity!" |         err_msg "no internet connectivity!" | ||||||
|         info_msg "Most often the connectivity is blocked by a docker installation:" |         info_msg "Most often the connectivity is blocked by a docker installation:" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Allen
						Allen