Project

General

Profile

« Previous | Next » 

Revision 9c54ed89

Added by Warren Baker about 11 years ago

Reconfigure Unbound for Rebind admin checks

View differences:

usr/local/www/system_advanced_admin.php
245 245

  
246 246
		conf_mount_rw();
247 247
		setup_serial_port();
248
		// Restart dnsmasq in case dns rebinding toggled
249
		services_dnsmasq_configure();
248
		// Restart DNS in case dns rebinding toggled
249
		if (isset($config['dnsmasq']['enable']))
250
			services_dnsmasq_configure();
251
		elseif (isset($config['unbound']['enable']))
252
			services_unbound_configure();
250 253
		conf_mount_ro();
251 254
	}
252 255
}

Also available in: Unified diff