cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
380
Views
0
Helpful
5
Replies

Viewing websites through a cisco 857w

ictss
Level 1
Level 1

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.

5 Replies 5

Kevin Dorrell
Level 10
Level 10

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

globalnettech
Level 5
Level 5

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

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.

johnnylingo
Level 5
Level 5

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.

Thnks Guys as soon as I enabled the DNS in DHCP and ran the ip dns server command everything worked perfectly.

Review Cisco Networking products for a $25 gift card