How to Run Cisco Router as Authoritative DNS Server
Careful consideration has to be given as this can consume considerable amount of resources like CPU cycles on the Cisco Router. If you are a small network and realise your Cisco ROuter is under utilised then there is a good business case to turn your router into a DNS server.
Enable DNS Server
From the Global configuration mode, enable the DNS server on your Cisco Router
ciscorouter# conf term ciscorouter(config)# ip dns server Configure as Primary DNS Server
Configures the router as the primary DNS name server for a domain (zone) and as the start of authority (SOA) record source. Unless Distributed Director is enabled, the TTL on locally defined resource records will always be ten seconds.
ciscorouter(config)# ip dns primary test.com soa ns.test.com postmaster.test.com The above command configures the Cisco Router as a Authoritative Primary DNS server for the domain "test.com" where ns.test.com is the Primary DNS Server and postmaster.test.com is the email account for the postmaster (read as firstname.lastname@example.org)
Create NS Records
Create NS resource record to be returned when the DNS server is queried for the associated domain. This configuration is needed only if the zone for which the system is authoritative will also be served by other name servers
ciscorouter(config)# ip host test.com ns ns.test.com
Optionally, you can also use the Caching DNS server settings along with this so the Cisc Router can act as an Authoritative DNS server for its zone and for everything else as a caching DNS server.
Latest posts by Editor (see all)
- How to Show files by size, biggest last- Linux Commands - January 21, 2011
- How to test for unreadable blocks on disk- Linux Commands - January 21, 2011
- How to Do a read speed test on disk sda – Linux Commands - January 21, 2011