Community discussions

MikroTik App
 
rubl3v
just joined
Topic Author
Posts: 3
Joined: Fri Sep 10, 2021 11:43 am

Add static Dns console

Fri Sep 10, 2021 11:47 am

Hello everyone.
There is a need to add a few more addresses to the existing static DNS servers. I can't figure out how to do this without losing the existing ones. Only the console can be used massively. Has anyone already done this? Help
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3291
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Add static Dns console

Fri Sep 10, 2021 1:05 pm

Not sure what you like to do.
One DNS with multiple IP? Not possible.
ON IP with multiple DNS name? Should work fine.
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 724
Joined: Tue Dec 17, 2019 1:08 pm

Re: Add static Dns console

Fri Sep 10, 2021 1:47 pm

Do you mean,

If you already have one or more Static DNS-Servers on your mikrotik,
and you add another one with
:ip dns set servers=1.1.1.1
You will end up only with 1.1.1.1 as static DNS-Server ?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Add static Dns console

Fri Sep 10, 2021 2:31 pm

/ip dns set servers=([/ip dns get servers],1.1.1.1)

Who is online

Users browsing this forum: No registered users and 16 guests