One API call creates an Active Directory domain zone, its _msdcs zone and optional DC locator records #85
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#85
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Today an operator has to create the forward zone, the
_msdcszone, the secure-update settings and possibly the SRV records by hand.What changes
POST /api/zones/templates/active-directory(permissionzones:write). Body: domain name, realm, DC host names and addresses (optional), andaddLocatorRecords(default false).<domain>and_msdcs.<domain>, with an SOA and NS:*@<REALM>.addLocatorRecords, it adds the locator SRV records (RFC 2782 format; names from Microsoft's public DC locator documentation):_ldap._tcp,_kerberos._tcp/_udp,_kpasswd._tcp/_udp,_gc._tcp,_ldap._tcp.dc._msdcsand the A records of the DCs. These are static records (nullDynamicRefreshedUtc), so scavenging never removes them; a DC that registers its own records owns those separately.ZonesController.csor a newZoneTemplatesController, models and examples, and a service inNinlil.Dns.Server.Authoritative.Acceptance
*@<REALM>and aging on with 7-day intervals; withaddLocatorRecordsthe SRV set exists and answers over UDP from the shared host.addLocatorRecords, only SOA and NS exist in the two zones.src/dotnet/tests/Ninlil.Web.Testspasses.Source