08-11-2006 04:39 AM - edited 03-03-2019 01:37 PM
Hi, I seem to be having a problem with displaying web pages over our 857w router. The ADSL seems to be connecting OK and we can get a web page displayed on a PC if we type the ip address of the site into the address bar. so if I type www.google.com we get an DNS error message displayed on the browser, but if we type 64.233.183.99 the page displays perfectly.
We have been using a vigor 2600+ router which connect perfectly every time. Different dns server ip's have been used but we still get the same results.
What are we missing, I have attached the running config so any help would be greatly welcomed.
08-11-2006 04:53 AM
You need to specify the DNS server under the DHCP pool rather than in the ip name-server command. I think the ip name-server command is for use by the router itself, and is not passed out to the DHCP clients.
What you need is:
ip dhcp pool sdm-pool1
dns-server 63.251.92.193 64.74.96.242
Kevin Dorrell
Luxembourg
08-11-2006 04:55 AM
Hello,
in general, you do not need to put the IP address of a DNS server into the configuration of your router. Try and take the following entries out of your configuration:
ip name-server 63.251.92.193
ip name-server 64.74.96.242
Also, change the access list 101, and take out these 4 lines:
access-list 101 permit udp host 64.74.96.242 eq domain any
access-list 101 permit udp host 63.251.92.193 eq domain any
access-list 101 permit udp host 194.74.65.68 eq domain any
access-list 101 permit udp host 194.74.65.68 eq domain host 217.x.x.x
access-list 101 permit udp host 194.72.9.38 eq domain host 217.x.x.x
and replace those with:
access-list 101 permit udp any any eq domain
Regards,
GNT
08-11-2006 07:00 AM
If you do end up removing the DNS servers from the router itself, also make sure to add "no ip domain-lookup". Otherwise, the router will still continue to attempt DNS lookups (trying to locate a DNS server via broadcast), and it will get very annoying.
But the problem here is that there are no DNS servers listed in the DHCP scope.
08-11-2006 06:57 AM
As mentioned, you need to specify the DNS servers in the DHCP pool. So change your config to this:
ip dhcp pool sdm-pool1
dns-server 63.251.92.193 64.74.96.242
!
Another option is run a DNS server on the router itself. In this case, the config would be:
ip dns server
!
ip dhcp pool sdm-pool1
dns-server 10.10.10.1
!
This method is especially useful if you have multiple ISPs.
08-14-2006 12:34 AM
Thnks Guys as soon as I enabled the DNS in DHCP and ran the ip dns server command everything worked perfectly.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide