I’m using my Mikrotik router (Model: 2011UAS-2HnD Software: v6.4) as a DNS server. I added some static entries. The PTR records work fine for resolution from clients, but the A records do not. Both records seem to be there but only the PTR records are responding to DNS requests. Any ideas?
PTR records from the Mikrotik:
[admin@MikroTik] /ip dns cache all> print where name ~ ".0.168.10"
Flags: S - static, N - negative
# NAME TYPE DATA TTL
21 S 1.0.168.10.in-addr.arpa PTR mikrotik 1d
23 S 2.0.168.10.in-addr.arpa PTR avaya-switch 1d
25 S 3.0.168.10.in-addr.arpa PTR netgear-switch 1d
27 S 5.0.168.10.in-addr.arpa PTR ip-power-bedroom 1d
29 S 6.0.168.10.in-addr.arpa PTR avocent-console-server 1d
A records from the Mikrotik (Seem to be automatically generated when I add a PTR record in “/ip/dns/static”):
[admin@MikroTik] /ip dns cache all> print where data ~ "10.168.0."
Flags: S - static, N - negative
# NAME TYPE DATA TTL
20 S mikrotik A 10.168.0.1 1d
22 S avaya-switch A 10.168.0.2 1d
24 S netgear-switch A 10.168.0.3 1d
26 S ip-power-bedroom A 10.168.0.5 1d
28 S avocent-console-server A 10.168.0.6 1d
PTR record query from my laptop:
c:\>nslookup
Default Server: mikrotik
Address: 10.168.0.1
> 10.168.0.1
Server: mikrotik
Address: 10.168.0.1
Name: mikrotik
Address: 10.168.0.1
> 10.168.0.3
Server: mikrotik
Address: 10.168.0.1
Name: netgear-switch
Address: 10.168.0.3
A record query from my laptop:
c:\>nslookup
Default Server: mikrotik
Address: 10.168.0.1
> mikrotik
Server: mikrotik
Address: 10.168.0.1
*** mikrotik can't find mikrotik: Non-existent domain
> netgear-switch
Server: mikrotik
Address: 10.168.0.1
*** mikrotik can't find netgear-switch: Non-existent domain
