DNS on Cisco 877

Answered Question

How to configure Local IP(Router IP)address , gateway address for PC's to work as a DNS on PC's to access internet rather then using ISP DNS.

Correct Answer by rmcarthur about 8 years 8 months ago

You don't need to use the name-server command if you use the "ppp ipcp dns request" command.


If the ISP servers are stable then you can use the ip name-server isp.dns.ser.ver command. If they are subject to change I would let ipcp discover them for you.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
satish_zanjurne Mon, 10/13/2008 - 01:44
User Badges:
  • Silver, 250 points or more


You cannot make a router to act as DNS Server,

So your host needs to configure with ISP DNS Server, if you are not setting up a local DNS server.


You can configure Cisco Router to use DNS server, which must have setup already , using


"ip name-server x.x.x.x" command


HTH..rate if helpful..

rmcarthur Mon, 10/13/2008 - 02:19
User Badges:
  • Bronze, 100 points or more

Use the global command "ip dns server" and under your dialer interface "ppp ipcp dns request" and set your PCs to use the local address of the router as their dns server.


You still use the ISPs dns servers, but only to look up unknown urls. The router will cache the resolved entries and serve them to your local PCs next time they are requested.


Hope this helps

Correct Answer
rmcarthur Mon, 10/13/2008 - 04:56
User Badges:
  • Bronze, 100 points or more

You don't need to use the name-server command if you use the "ppp ipcp dns request" command.


If the ISP servers are stable then you can use the ip name-server isp.dns.ser.ver command. If they are subject to change I would let ipcp discover them for you.

rmcarthur Mon, 10/13/2008 - 14:03
User Badges:
  • Bronze, 100 points or more

Cool, I was happy to help and thanks for the rating.


Have fun with the 877!


Actions

This Discussion