I'm trying to setup the SNTP of a new Cisco SG300-48 Switch in L3 mode.
So far I have enabled the Main Clock Source (SNTP Servers) option (Administration -> Time Settings), set my time zone and daylight saving settings to match my country.
Also, under SNTP Unicast I have enabled SNTP Client Unicast option and added several NTP public servers (10), all that are currently running (tested using NTP Time Server Monitor by Meinberg in my PC connected to the switch).
The problem is that even after saving the configuration and rebooting the switch all the servers are always with "Down" status. The date and time of the switch is never updated. Somehow the switch is unable to adquire NTP information.
Does anyone knows how to fix it?
Ok, after some research I have discovered that the switch is unable to resolve DNS queries, so I cannot get IP addresses of the NTP servers listed in the picture since they are referenced by name. To confirm that, I've added a NTP server using it's IP address and the switch was able to get time from it.
Since I have a default gateway set to the switch I do not understand why it is unable to resolve DNS queries through the gateway. Do I have to set it mannually?