How to configure DNS in OpenWRT + AD?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
96 views
There is a network:
Provider - Openwrt[NAT,DHCP,DNS] - Lokalka.
Created AD domain (Server 2019), the process of creating a root domain check DNS role was removed (I have Openwrt performs this function.
Now I want to add a second domain controller, but he doesn't see the first to join the domain (the error says that CD not found in DNS. )
Google led to two decisions:
- shaman with dnsmasq to add SRV/TXT records CD (help :)
- to hang up DNS and DHCP on a CD and no steam.
But I need the first option :) since using dnsmasq I have filtered advertising
by | 96 views

2 Answers

0 like 0 dislike
Doing this, I bind left such records:
DC.mynet.com. IN A 192.168.213.213
_ldap._tcp.dc._msdcs.mynet.com. IN SRV 0 100 389 DC.mynet.com.
_kpasswd._tcp.dc._msdcs.mynet.com. IN SRV 0 100 464 DC.mynet.com.
_kerberos._tcp.dc._msdcs.mynet.com. IN SRV 0 100 88 DC.mynet.com.
_gc._tcp.dc._msdcs.mynet.com. IN SRV 0 100 3268 DC.mynet.com.

mynet.com the name of your domain. dc the name of the computer where the hanging HELL. In the records to a domain name are tcp ports. Like that was enough for the AD, put these records in an acceptable form for dnsmasq should fly. Be sure to double check all entries after domovie DNS.
nslookup-type=SRV _gc._tcp.dc._msdcs.mynet.com. and so all in a row.

PS. It is enough I in order for users to connect to HELL. Maybe the second AD will need additional entries
by
0 like 0 dislike
leave the DNS role on the server, you will be easier.
by
110,608 questions
257,187 answers
0 comments
40,253 users