cpatte7372
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
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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
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.