mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Add comments to some DNS options in code (#598)
This commit is contained in:
		| @@ -745,7 +745,7 @@ ifconfig-pool-persist ipp.txt" >> /etc/openvpn/server.conf | ||||
|  | ||||
| 	# DNS resolvers | ||||
| 	case $DNS in | ||||
| 		1) | ||||
| 		1) # Current system resolvers | ||||
| 			# Locate the proper resolv.conf | ||||
| 			# Needed for systems running systemd-resolved | ||||
| 			if grep -q "127.0.0.53" "/etc/resolv.conf"; then | ||||
| @@ -758,7 +758,7 @@ ifconfig-pool-persist ipp.txt" >> /etc/openvpn/server.conf | ||||
| 				echo "push \"dhcp-option DNS $line\"" >> /etc/openvpn/server.conf | ||||
| 			done | ||||
| 		;; | ||||
| 		2) | ||||
| 		2) # Self-hosted DNS resolver (Unbound) | ||||
| 			echo 'push "dhcp-option DNS 10.8.0.1"' >> /etc/openvpn/server.conf | ||||
| 		;; | ||||
| 		3) # Cloudflare | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Henry N
					Henry N