[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

DNS Configuration for CISCO

Posted on 2004-09-29
7
Medium Priority
?
403 Views
Last Modified: 2010-04-10
Hi,

I have setup my cisco 1701 to allow internet access, the only way I can get on the internet is to set the DNS settings on my local machine.  What I would like is to setup the DNS config on the router..

I am not sure how to do this..?

Caz
0
Comment
Question by:caz1762
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 43

Expert Comment

by:JFrederick29
ID: 12181973
Are you using DHCP?  If not, are you wanting to setup the router as a DHCP server to distribute addresses as well as the DNS settings?

To enable the router to act as a DHCP server, you can use the following global configuration commands for example:

ip dhcp pool dhcppool  <---- create the DHCP pool using whatever name you want
   network 192.168.1.0 255.255.255.0  <---- use your network and mask
   default-router 192.168.1.1  <---- set the default gateway to be sent to clients
   domain-name <domainname>   <---- set the clients domain name
   dns-server 68.x.x.10  <---- set DNS server 1 to your ISP DNS server (primary)
   dns-server 68.x.x.11  <---- set DNS server 2 to your ISP DNS server (secondary)
   netbios-name-server 192.168.1.10  <---- set the WINS server if applicable

Use the command "ip dhcp excluded-address 192.168.1.1" to exclude the router address.  Use the command to exclude other addresses that you want statically assigned, you can use a range as follows:

ip dhcp excluded-address 192.168.1.100 192.168.1.254
0
 
LVL 15

Expert Comment

by:scampgb
ID: 12181983
Hi caz1762,
The Cisco router isn't actually doing the DNS lookups for you.

This means that you have to configure the DNS IP manually on the PC, unless you're picking up your PC's IP address dynamically (DHCP).

If you are, you should be able to configure the DHCP server to issue the IP address of your ISP's DNS server automatically.
Does that help?

0
 

Author Comment

by:caz1762
ID: 12188264
Will this work or do i also need to put in place the dns-server settings.

ip dhcp pool CLIENT
   import all
   network 152.114.0.0 255.255.0.0
   default-router 152.114.0.1
   lease 0 2

Caz
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 43

Expert Comment

by:JFrederick29
ID: 12188846
If you do not want to manually configure the DNS settings, use the dns-server lines.  If you don't, DNS configuration on the clients will need to be manually configured.
0
 

Author Comment

by:caz1762
ID: 12188926
ip dhcp pool CLIENT
   import all
   network 152.114.0.0 255.255.0.0
   default-router 152.114.0.1
   lease 0 2
 dns-server 84.x.x.x
 dns-server 84.x.x.x

Is the above all I need then...

Caz
0
 
LVL 43

Accepted Solution

by:
JFrederick29 earned 1440 total points
ID: 12188939
Add this to it...

ip dhcp excluded-address 152.114.0.1

You realize that your DHCP scope is 152.114.0.2 - 152.114.255.254 right? Is your subnet mask correct?
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question