- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2013 04:23 AM - edited 03-07-2019 11:27 AM
Hello Experts,
I am bit confused here about Router as DNS Server.
my main aim to use router ip at place of Preferred dns
field of tcp/ip settings of client computer.
I know only one method (Method 1) to implement this
thing which is given in below link:
Method 1: Using Commands like
http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/257-cisco-router-dns-server.html
ip dns server
ip domain-lookup (enabled by default)
ip domain-name techcom.com
ip name-server 7.7.7.7
ip name-server 8.8.8.8
Method 2: Using Commands like
ip dns view default
dns forwarder 7.7.7.7
dns forwarder 8.8.8.8
ip dns server
Can we configure Router as DNS server through Method 2,
I never seen this method before, where we can use these commands
plz explain with good practical example ?
KS
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2013 11:06 AM
Hi,
DNS views are newest way of implementing DNS server on cisco IOS and thir main purpose is to enable split DNS.
both ways you describe will do the same thing.
http://www.cisco.com/en/US/docs/ios/12_4t/12_4t11/htspldns.html
Regards
Alain
Don't forget to rate helpful posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2013 07:33 AM
Hi,
just method 1. There is no global command that starts with dns:
R2(config)#dn?
dnsix-dmdp dnsix-nat
R2(config)#dn
ip domain name test.com
ip name-server 7.7.7.7
ip name-server 8.8.8.8
ip dns server
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2013 07:41 AM
Hi Reza,
What do you mean to say....
I am not getting
KS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2013 07:46 AM
Hi,
What I was saying is that the below commands are not available on the router, or at least the routers I am testing them with
ip dns view default
dns forwarder 7.7.7.7
dns forwarder 8.8.8.8
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2013 08:01 AM
Hi Reza,
these commands are part of Cisco IOS...
but i am not confirm about IOS version.
KS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2013 11:29 AM
Hi,
DNS Views were available since release 12.4(9)T.
Regards
Alain
Don't forget to rate helpful posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2013 11:28 PM
Hi Cadet,
Thanks for confirmation....
I want to know about these commands:
ip dns view default
dns forwarder 7.7.7.7
dns forwarder 8.8.8.8
ip dns server
what was the purpose of above commands when we
used the old versions.
is it work as like as Method 1 (already described)
or else ??
KS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2013 11:06 AM
Hi,
DNS views are newest way of implementing DNS server on cisco IOS and thir main purpose is to enable split DNS.
both ways you describe will do the same thing.
http://www.cisco.com/en/US/docs/ios/12_4t/12_4t11/htspldns.html
Regards
Alain
Don't forget to rate helpful posts.
