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:
Code: Select all
[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
Code: Select all
[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
Code: Select all
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.