Community discussions

MikroTik App
 
jfk9w
just joined
Topic Author
Posts: 1
Joined: Thu Mar 14, 2024 6:36 pm

DNS RR

Thu Mar 14, 2024 6:47 pm

Hi,

I must be missing something here, since I've found multiple posts on this same forum where everything works as expected.

I have two static DNS entries:
[admin@router02] > /ip dns static print where name=disco.sonc.top 
Columns: NAME, ADDRESS, TTL
# NAME            ADDRESS      TTL
;;; hosts
0 disco.sonc.top  192.168.1.2  10m
;;; hosts
1 disco.sonc.top  192.168.3.2  10m
But for some reason none of the clients or the router itself seem to resolve all addresses these records point to:
[admin@router02] > put [:resolve disco.sonc.top] 
192.168.1.2
[admin@router02] > put [:resolve disco.sonc.top] 
192.168.1.2
[admin@router02] > put [:resolve disco.sonc.top] 
192.168.1.2
[admin@router02] > put [:resolve disco.sonc.top] 
192.168.1.2
[admin@router02] > put [:resolve disco.sonc.top] 
192.168.1.2
On a Ubuntu server:
user@mars:~$ nslookup disco.sonc.top
Server:		192.168.1.1
Address:	192.168.1.1#53

Non-authoritative answer:
Name:	disco.sonc.top
Address: 192.168.1.2

I would at least expected to get different address on every nslookup or :resolve, but this does not seem to be the case.
I am running RouterOS 7.14.1 on hAP ax^3, but the situation is the same on 7.13.x on hAP ac^2 (i.e. this behavior does not seem to depend on ROS version or the device).
What am I doing wrong? Please help.

Who is online

Users browsing this forum: gigabyte091, Kanzler, Semrush [Bot], seriosha and 22 guests