{"id":774,"date":"2024-12-04T03:50:32","date_gmt":"2024-12-04T00:50:32","guid":{"rendered":"https:\/\/itgen.itbumper.com\/?page_id=774"},"modified":"2024-12-04T03:57:38","modified_gmt":"2024-12-04T00:57:38","slug":"0022_ciscodns","status":"publish","type":"page","link":"https:\/\/itgen.itbumper.com\/?page_id=774","title":{"rendered":"0023_Cisco: DNS"},"content":{"rendered":"<p style=\"text-align: justify;\" data-tadv-p=\"keep\">DNS (Domain Name System) on Cisco devices translates domain names into IP addresses, simplifying network management. Cisco routers and switches can use DNS to resolve hostnames in configurations or when executing network commands like ping or telnet.<\/p>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#DNS &quot;A&quot; record = used to map names tp IPv4 address\n#DNS &quot;AAAA&quot; record = used to map names to IPv6 address\n#TCP and UDP port = 53\n#Windows based OS cmd\/ps\n\tipconfig \/displaydns\t\t#to show local DNS cache\n#Cisco routers can be configured as a DNS client\n\t\tip dns server\t\t\t#to create your own table on the router use:\n\t\tip host R1\t192.168.0.1\n\t\tip host PC1\t192.168.0.101\n\t\tip host PC2\t192.168.0.102\n\t\t\n\t\tip name-server 8.8.8.8\n\t\tip domain lookup\t\t#to enable perform DNS queries (enable by default) old version of the command ip domain-lookup\n\tshow hosts\t\t\t\t\t#to show cache and hosts. temp - temprorary entry; perm - manual configered\n\tip domain name itbumper.com #to set a domain name\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>DNS (Domain Name System) on Cisco devices translates domain names into IP addresses, simplifying network management. Cisco routers and switches can use DNS to resolve hostnames in configurations or when executing network commands like ping or telnet.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/774"}],"collection":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=774"}],"version-history":[{"count":2,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/774\/revisions"}],"predecessor-version":[{"id":783,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/774\/revisions\/783"}],"wp:attachment":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}