And next time when the users try to query external entries, it will not forward the request rather the internal DNS server will respond from its cache. What if any of your internal users wanted to go to the internet?īy default our DNS servers will not have an entry for the external host records, hence we need to configure our internal DNS servers to talk to the external DNS servers that way any external DNS queries will be relayed to the external DNS server.įor example, if when one user tries to query and since it is an external DNS entry, our DNS router will forward the request out to external DNS servers that we have configured. We are going to use the Cisco router as the internal DNS servers for the internal network and we also configured the internal host A record just so the internal users can query and get the response. If you have to configure more records you can add them down below using the IP host command.įor the below six records, the router will be the authoritative DNS server. To configure the host A record you can use the command IP host in the configuration terminal, I have created a host A record as below, for now, I am adding only six records. We are now going to configure the internal host A record in our DNS server. To mention the domain name, you have to type the command ip domain name getlabsdone.local DNS1(config)#ip domain name getlabsdone.local 4. Since this is my local DNS server, I would just choose my domain as getlabsdone.local You may have a domain name in your mind, you will have to specify the domain name here. DNS1#conf tĮnter configuration commands, one per line. When you try to ping by default you will not get any response.įor the domain resolution to work on the cisco router you need to enable domain lookup. To enable DNS service on the router you can type the command ip dns server on the configuration terminal. The final configuration from the DNS servers.Let’s go ahead and configure the DNS on the cisco routers now. Success rate is 80 percent (4/5), round-trip min/avg/max = 40/49/52 msĮverything looks great, and our network is up and running with full reachability. Sending 5, 100-byte ICMP Echos to 192.168.1.6, timeout is 2 seconds: Success rate is 80 percent (4/5), round-trip min/avg/max = 44/49/52 ms Sending 5, 100-byte ICMP Echos to 10.100.1.2, timeout is 2 seconds: Success rate is 80 percent (4/5), round-trip min/avg/max = 32/46/52 ms Sending 5, 100-byte ICMP Echos to 10.100.1.6, timeout is 2 seconds: Success rate is 80 percent (4/5), round-trip min/avg/max = 36/54/68 ms Sending 5, 100-byte ICMP Echos to 10.1.1.22, timeout is 2 seconds: Success rate is 80 percent (4/5), round-trip min/avg/max = 32/47/56 ms Sending 5, 100-byte ICMP Echos to 10.1.1.11, timeout is 2 seconds: Make sure all the devices are connected, and it’s able to ping to each other.Īs you can see from the DNS server, I can reach all the IP’s in the network, which is good.Configured the IP address on each end host also the gateways. After you configured the DNS server on the router we would check the connectivity to internal hosts using the local DNS host A record and similarly we will also check the public DNS access, those public DNS request again will forward to the public DNS servers from our internal router DNS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |