Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
leolaohoo is right. Please notice that when you restart router config is executed first and only than interfaces are changing state to up. In other words there is no way DNS translation can take place. Use IP addresses for now and look for better sol...