Community discussions

MikroTik App
 
kelarlee
newbie
Topic Author
Posts: 29
Joined: Thu Dec 27, 2018 5:48 pm

Mikrotik not resolving local hosts on Windows DNS server

Wed Oct 06, 2021 4:53 pm

Hi there, i have Windows DNS server and tried to use mikrotik to forward all local domain zone DNS requests to my Windows DNS server. But for some reason, mikrotik not resolving any local hosts at all, for example when resolving admin.oil.lpg(using only my dns server), log showing:
16:38:03 dns local query: #25 admin.oil.lpg. A
16:38:03 dns,packet --- sending udp query to 192.168.10.188:53:
16:38:03 dns,packet id:e0d2 rd:1 tc:0 aa:0 qr:0 ra:0 QUERY 'no error'
16:38:03 dns,packet question: admin.oil.lpg.:A:IN
16:38:03 dns,packet --- got answer from 192.168.10.188:53:
16:38:03 dns,packet id:e0d2 rd:1 tc:0 aa:0 qr:1 ra:1 QUERY 'name error'
16:38:03 dns,packet question: admin.oil.lpg.:A:IN
16:38:03 dns done query: #25 dns name does not exist
At the same time i have forwarder on my Windows dns, so resolving for example google.com through my dns server works normally:
16:43:57 dns local query: #26 google.com. A
 16:43:57 dns,packet --- sending udp query to 192.168.10.188:53:
 16:43:57 dns,packet id:e506 rd:1 tc:0 aa:0 qr:0 ra:0 QUERY 'no error'
 16:43:57 dns,packet question: google.com.:A:IN
 16:43:57 dns,packet --- got answer from 192.168.10.188:53:
 16:43:57 dns,packet id:e506 rd:1 tc:0 aa:0 qr:1 ra:1 QUERY 'no error'
 16:43:57 dns,packet question: google.com.:A:IN
 16:43:57 dns,packet answer:
 16:43:57 dns,packet <google.com.:A:283=142.250.201.206>
 16:43:57 dns,packet authority:
 16:43:57 dns,packet <google.com.:NS:111665=ns3.google.com.>
 16:43:57 dns,packet <google.com.:NS:111665=ns2.google.com.>
 16:43:57 dns,packet <google.com.:NS:111665=ns4.google.com.>
 16:43:57 dns,packet <google.com.:NS:111665=ns1.google.com.>
 16:43:57 dns,packet additional:
 16:43:57 dns,packet <ns3.google.com.:A:319937=216.239.36.10>
 16:43:57 dns,packet <ns2.google.com.:A:319937=216.239.34.10>
 16:43:57 dns,packet <ns4.google.com.:A:319937=216.239.38.10>
 16:43:57 dns,packet <ns1.google.com.:A:319937=216.239.32.10>
 16:43:57 dns done query: #26 google.com 142.250.201.206
And finally when i checking nslookup admin.oil.lpg from another windows host it resolving and showing correct ip adress. So my conclusion - something wrong with mikrotik config or i dont know. Can anyone help me to figured out what is wrong ? Thank you.
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: Mikrotik not resolving local hosts on Windows DNS server

Wed Oct 13, 2021 4:03 am

Can you export and Post you latest Mikrotik-Config?
I'll take a look!

Who is online

Users browsing this forum: 5h4k4, Bing [Bot], johnb175a, keithy and 63 guests