How to resolve the service provider DNS from L2 switch.
Find the detailed scenario in attached network diagram with router and switch configurations.
The network is-
Internet-Service Provider Modem-Cisco router-Cisco switch-pc/desktop
with this setup we are able to ping the network of
1. Service provider(LAN & WAN IPs-123.*.*.* & 192.168.1.1/30)
2. External DNS (202.*.*.*) from pc/desktop(172.16.0.3/29- entered static IP with static Service provider DNS in TCP/IP properties)
but if i browse the google.com from desktop , showing DNS error and google.com not opened.From this same dektop we are able to ping the public IP of google.com.
why this PC/desktop can't resolved the DNS or not able to access the internet?
If i ping from cisco router(192.168.1.2/30) to google.com, the DNS was resolved and ping response is also OK,
but if i ping to google.com from cisco switch(172.16.0.2/29), the DNS was not resolved & gives request time out or no ping response.
Service Provider DNS IPs are alredy added same in switch and router.
1. Which commands are require to be enter in the switch for all FE ports will be able to resolve service provider DNS? & access the internet from switch end.
2. Is it any DNS forwarding configuration required by switch? or any configuration to be update or change in current configurations? Kindly help.