cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5007
Views
0
Helpful
3
Replies

Router wont resolve dns

Gimpchops
Level 1
Level 1

Hi all im currently configuring a cisco 887vm router to use at home. so far my config is working well except for some reason no hosts can connect to the internet unless I manually add dns server on the host.

ive added 3 ip domain servers 8.8.8.8 8.8.4.4 and my isp dns 212.159.13.49. but its not working. all input greatly appreciated thanks.

 

hostname HOME
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$qpj2$m3VpYJ1ackpYLYjVgwpBX/
!
aaa new-model
!
!
!
!
!
!
!
aaa session-id common
memory-size iomem 10
!
!
!
!
!
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool pool-one
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
domain-name tooter
lease 7
!
!
!
ip domain name cisco.com
ip name-server 8.8.8.8
ip name-server 8.8.4.4
ip name-server 212.159.13.50
ip name-server 212.159.13.49
ip cef
no ipv6 cef
!
!
license udi pid CISCO887VA-K9 sn FCZ1830C298
!
!
username jon privilege 15 secret 5 $1$.YC4$TsirAWqbgmllgIJ3OpfXK.
!
!
!
!
!
controller VDSL 0
!
!
!
!
!
!
!
!
!
!
interface Ethernet0
no ip address
!
interface Ethernet0.101
encapsulation dot1Q 101
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface Vlan1
description LAN
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface Dialer1
description Dialer interface for VDSL
mtu 1492
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip nbar protocol-discovery
ip flow ingress
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
ppp authentication pap chap ms-chap callin
ppp chap hostname *************l.net
ppp chap password 0 *********
ppp ipcp address accept
no cdp enable
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip nat inside source list NAT interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip access-list extended NAT
permit ip 192.168.1.0 0.0.0.255 any
remark access list for NAT
!
!
!
!
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
password ********
transport input all
!
!
e

2 Accepted Solutions

Accepted Solutions

Francesco Molino
VIP Alumni
VIP Alumni
Hi

Under your dhcp pool, you'll need to provide the dns server for your clients.
The name server you configured is for the router to resolve names.

Here the config:
ip dhcp pool pool-one
dns-serv 8.8.8.8 8.8.4.4


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

You're welcome

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

3 Replies 3

Francesco Molino
VIP Alumni
VIP Alumni
Hi

Under your dhcp pool, you'll need to provide the dns server for your clients.
The name server you configured is for the router to resolve names.

Here the config:
ip dhcp pool pool-one
dns-serv 8.8.8.8 8.8.4.4


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Great thanks worked a treat. Thanks for the help in my previous thread aswell.

You're welcome

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: