Link to home
Start Free TrialLog in
Avatar of cpatte7372
cpatte7372Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Configure Cisco Router 2811 to Act as DNS server

Hello Experts

Can someone show me how to configure a cisco router to act as dns server.
I currently have server that can connect to the internet via the router from a private ip address. However, I can't connect to server using its hostname from the internet. I believe it was because the server had not been configured with the appropriate dns settings. Therefore, I configure the dns settings with the ip address of the router 192.168.1.x. Now I need to configure the router to act as a dns server with the public ip address of 84.45.116.x.

The server is windows 2003.

You're help will be greatly appreciated.

Cheers

Carlton
Avatar of Nick M
Nick M
Flag of United States of America image

Well, it sounds like what you want is a public dns entry for the external address.

for instance a web server may have a www record configured in the dns for www.mydomain.com that relates to its IP.

So, two things, if you have a domain name, whoever you have that hosted with (network solutions, etc) will let you create an alias record for the www address

on the router, you'll need to create a static mapping or to allow whatever traffic you want inside.



Avatar of greg ward
to configure a router as a dns server.
conf t
ip name-server 4.2.2.1
ip name-server <you can add  more here>

ip dns server

ip dhcp pool lan
   import all
   network 172.25.0.0 255.255.255.0
   default-router 172.25.0.1
   dns-server 172.25.0.1

Greg
ASKER CERTIFIED SOLUTION
Avatar of Nick M
Nick M
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cpatte7372

ASKER

thanks