Community discussions

 
Theking2
just joined
Topic Author
Posts: 9
Joined: Thu Aug 04, 2016 9:41 pm

Upgrade DNS

Sun Sep 02, 2018 12:05 pm

Hi
Attempts to auto upgrade or check for updates fail with the following error message:
ERROR: could not resolve dns name

I seem not to be able to specify the DNS server on the RouterOS 6.42.1
Last edited by Theking2 on Sun Sep 02, 2018 1:59 pm, edited 1 time in total.
 
mkx
Forum Guru
Forum Guru
Posts: 3190
Joined: Thu Mar 03, 2016 10:23 pm

Re: Upgrade

Sun Sep 02, 2018 1:59 pm

/ip dns
set allow-remote-requests=no servers=8.8.8.8
If you want your LAN hosts to use RB as DNS resolver, change allow-remote-requests to yes and adjust firewall rules to close access to DNS service from internet.
Adjust IP address of upstream DNS server to whatever your LAN hosts use now. If you want to configure more than one server, separate IP addresses with comma.
BR,
Metod
 
Theking2
just joined
Topic Author
Posts: 9
Joined: Thu Aug 04, 2016 9:41 pm

Re: Upgrade DNS

Sun Sep 02, 2018 2:10 pm

oh thanks!
didn't help get the error ERROR: no internet connection prob cannot find the gateway.

never mind, got it. Under IP I had to manually add the route to the gateway
 
erlinden
Member Candidate
Member Candidate
Posts: 174
Joined: Wed Jun 12, 2013 1:59 pm

Re: Upgrade DNS

Sun Sep 02, 2018 2:24 pm

Lol, sorry. If your router has no gateway, how will it be able to use external DNS servers? Perhaps you can tell us a bit more of what you are doing, how things are connected and what you are trying to accomplish?
 
mkx
Forum Guru
Forum Guru
Posts: 3190
Joined: Thu Mar 03, 2016 10:23 pm

Re: Upgrade DNS

Sun Sep 02, 2018 2:38 pm

Not having default route defined is perfectly fine for devices that don't need access to internet, such as switches and intra-LAN routers.
BR,
Metod

Who is online

Users browsing this forum: No registered users and 28 guests