Community discussions

MikroTik App
 
User avatar
shalak
newbie
Topic Author
Posts: 41
Joined: Sat Aug 24, 2019 11:47 am

Reverse DNS for static DNS entries doesn't work

Fri Nov 25, 2022 12:46 am

My hap ac2 is running on 6.49.7 and works as a router, DHCP server and DNS server in my network, has IP of 10.0.0.1

I've setup static DNS entries for pretty much all hosts in my network, with DHCP client reservations for them via:
/ip dns static add address=10.0.0.100   name="somehost.mydomain.com"
/ip dhcp-server lease add address=10.0.0.100  mac-address=<somemac> server=dhcp-main comment="somehost" client-id=someclientid
Unfortunately, the revDNS doesn't work correctly:
$ nslookup 100.0.0.10.in-addr.arpa 10.0.0.1
Server:		10.0.0.1
Address:	10.0.0.1#53

** server can't find 100.0.0.10.in-addr.arpa: NXDOMAIN
What am I missing?
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Reverse DNS for static DNS entries doesn't work  [SOLVED]

Fri Nov 25, 2022 1:10 am

-type=PTR
 
User avatar
shalak
newbie
Topic Author
Posts: 41
Joined: Sat Aug 24, 2019 11:47 am

Re: Reverse DNS for static DNS entries doesn't work

Fri Nov 25, 2022 3:54 am

-type=PTR

Thank you!

Who is online

Users browsing this forum: GoogleOther [Bot] and 54 guests