Simple question: I have following switch configuration:
interface Vlan1
ip address dhcp
end
ip domain-lookup
I receive and IP and DNS servers along with it from our DHCP server. At least Windows clients in the same network, do. So i want to use DNS lookups, but the switch does not use the dns servers. What am i missing?
Switch#ping swinf03
*Feb 10 16:48:57.041: %SYS-5-CONFIG_I: Configured from console by console02
% Unrecognized host or address, or protocol not running.
Using the FQDN (even though, DNS suffix should be provided within the DHCP options) i cant get a response:
Switch#ping swinf03.company.local
% Unrecognized host or address, or protocol not running.
If i check what DNS servers are configured, i get following:
Switch#show ip dns servers
IP VRF TTL(s) RTT(ms) RTO(ms) EDNS DNSSEC RECURSION
-----------------------------------------------------------------------------
255.255.255.255 817 1000 4000 Yes Yes Yes
Platform is a IOS-XE Cisco 9200 switch.