Community discussions

MikroTik App
 
grimelog
just joined
Topic Author
Posts: 5
Joined: Wed Aug 25, 2021 11:25 am

Have internet, but switch will not update.

Mon May 23, 2022 11:42 am

I'm running a CRS354-48G-4S+2Q+ as a switch, and an OPNSense DEC850 as a firewall. I'm able to connect to the internet, but RouterOS 6.48.3 throws ERROR: could not resolve dns name. The router is configured to automatically give the switch an ip address through DHCP. I even have the Gateway set to the interface.

Does anyone know how I might resolve the DNS name on the switch?
 
grimelog
just joined
Topic Author
Posts: 5
Joined: Wed Aug 25, 2021 11:25 am

Re: Have internet, but switch will not update.

Mon May 23, 2022 11:54 am

Managed to get it working by manually adding a DNS server to the switch. Why couldn't the switch just get the DNS server from the firewall?
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: Have internet, but switch will not update.

Mon May 23, 2022 12:50 pm

Does the Mikrotik DHCP client have use-peer-dns=yes? Is the DHCP server configured to send DNS server(s) (option 6) if requested by a client?
 
kevinds
Long time Member
Long time Member
Posts: 638
Joined: Wed Jan 14, 2015 8:41 am

Re: Have internet, but switch will not update.

Mon May 23, 2022 9:30 pm

Check the Mikrotik's DHCP client for a setting about Use DNS..

Who is online

Users browsing this forum: CJWW, Dimas2810, GoogleOther [Bot], Ogebalara and 62 guests