02-04-2022 02:21 PM
Hello,
How do we make our Cisco gear reply to DNS lookups?
We do NOT want to have the router/switch act as a DNS server, and do NOT want to do hostname lookup from the router/switch itself.
We want the opposite - for the Cisco devices to just respond to external queries with their hostname, like a laptop/end device. We have a Hostname configured on every device. How do we get those hostnames to show up on the network? We have Windows DNS servers, can they scan the Cisco gear automatically and create the DNS entries?
thanks,
Solved! Go to Solution.
02-04-2022 03:33 PM
Hi
But devices like notebook desktops, Access Points, etc, use DHCP and what I see is that by DHCP request/response IPAM can get hostname information.
Pure DNS does not get this information unless you create an "A" host entry somewhere.
02-04-2022 02:51 PM
Hi
" How do we get those hostnames to show up on the network?" Can you explain what do you mean by 'show up'. You want the device to responde by name without creating a DNS entry for them on the DNS server?
02-04-2022 03:01 PM
Hello, yes, so for example we have network scanning tools - IPAM, etc, and they pick up the hostnames of our deskptops, printers, servers, VM hosts, etc. but not Cisco devices.
Obviously nobody is manually creating DNS entries of every desktop in our windows DNS server, the end-devices just respond when scanned. So how do we make Cisco respond to scans with a hostname? how do we auto create the entries on DNS server when it goes to resolve the IP/name?
thanks,
02-04-2022 03:33 PM
Hi
But devices like notebook desktops, Access Points, etc, use DHCP and what I see is that by DHCP request/response IPAM can get hostname information.
Pure DNS does not get this information unless you create an "A" host entry somewhere.
02-04-2022 03:03 PM
Do you have DNS Server ? then take an example :
if the Switch name BLD9-ACC1 (Building 9 Access switch) IP address of Management 10.10.10.10
Add A Entry in DNS
BLD9-ACC1 10.10.10.10, your device can access BLD9-ACC1
02-06-2022 10:09 PM
please check with below commands should help you.
router(config)#ip dns server
router(config)#ip domain-lookup
router(config)#ip name-server 8.8.8.8
router(config)#ip name-server 1.1.1.1
router(config)#ip host xyz 192.168.1.2
router(config)#ip host abc 192.168.1.5
Thanks,
Jitendra
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide