When I set Wireless Access Point on Raspberry Pi 3 routes are not properly set on booting hence nameservers doesn't work