When it is written
The DNS Server service writes 150 to the DNS Server log, at the Error level, when it could not load or initialize the plug-in DLL named in the event. The library comes from the server-level plug-in setting (ServerLevelPluginDll, set with dnscmd /config /serverlevelplugindll or the DNS management tools), which Microsoft describes as the path of a custom plug-in whose functions the DNS server calls to resolve names outside its own zones. The event's binary data is the error code that the load or initialization attempt returned. Microsoft's resolution is to correct the plug-in or to remove it from the DNS server configuration.
Microsoft documents the event in its event reference for the DNS Server role of Windows Server 2008, under the source Microsoft-Windows-DNS-Server-Service, and the event template of Windows Server 2025 still carries the same text. It can appear on any server that runs the DNS Server role, in most domains the domain controllers.
The plug-in setting is why the event matters for identity security. Members of DnsAdmins, a domain local group that Microsoft describes as having administrative access to the DNS Server service, can change server settings, including this one. A plug-in path on a DNS server that is not meant to use one means that someone tried to have the service load a library of their choice, inside a system service of the server. 150 is the failed case only: a library that loads produces event 770 instead, and the setting change itself (audit event 541) is the trace to rely on.
How to turn it on
Microsoft-Windows-DNS-Server-Service writes the event to the DNS Server log (Event Viewer > Applications and Services Logs > DNS Server), which is on by default. Microsoft
The DNS Server log exists on every server with the DNS Server role and is on by default. What reaches it is set by the server's event log level (dnscmd /config /eventloglevel, shown as EventLogLevel by Get-DnsServerDiagnostics): 0 logs no events, 1 only errors, 2 errors and warnings, and 4, the default, errors, warnings and informational events. Keep the default: a lower level drops informational events, and level 0 drops the plug-in events of this library too.
The log sits directly under Applications and Services Logs, apart from the DNS-Server audit and analytic channels under Microsoft > Windows. Forward it by its name, DNS Server.
Get-DnsServerDiagnostics | Select-Object EventLogLevel(Get-DnsServerSetting -All).ServerLevelPluginDlldnscmd /config /eventloglevel 4The DNS Server log is on by default. The event needs an event log level that keeps errors: the template writes 150 as an Error, which levels 1 (errors only), 2 (errors and warnings) and 4 (errors, warnings and informational events, the default) all log; level 0 logs nothing. Keep the default, which the successful load event 770 needs.
The event exists only while a plug-in path is configured. Check the setting directly as well: (Get-DnsServerSetting -All).ServerLevelPluginDll is empty in Microsoft's example of a server without a plug-in, and dnscmd /info /serverlevelplugindll reads the same setting from the DNS server's registry parameters.
Fields
In Event Viewer order. The field names are those of the event XML, from the event template of Windows Server 2025 (build 26100.32230, January 13, 2026): the provider belongs to a server role, so the template comes from the provider manifests that the EVTX-ETW-Resources project exported from that release.
| Field | What it holds | Since |
|---|---|---|
param1 | Path of the plug-in library the service tried to load (%1 in the event text), as configured in the server-level plug-in setting. | v0 |
Binary dataBinary | Error code that the load or initialization attempt returned: the template's text and Microsoft's Windows Server 2008 event reference call it the event data. Microsoft does not list the codes or show how they are encoded, so the sample leaves it out. | v0 |
Values to know
param1
| Value | Meaning | Signal |
|---|---|---|
Any path, on a server that uses no plug-in | Someone configured a plug-in that should not existFind the setting change (541) and who made it, then clear the setting. | Attack signal |
A network path | The library is read from a remote shareA plug-in kept outside the server makes the case urgent. | Attack signal |
The documented path of a plug-in you run | A known plug-in failed to loadConfirm with the owner of the product, then repair or remove the plug-in. | Noise |
Volume and noise
On a DNS server that uses no plug-in the event does not occur. Where a product you run installs a DNS plug-in, a failure after an update or after its files were moved produces it; the path then belongs to that product.
Keeping it manageable
- Keep every 150 and alert on it: the library's rule reads it at high severity and the volume is close to zero.
- Record the plug-in path of every DNS server that legitimately uses one (
(Get-DnsServerSetting -All).ServerLevelPluginDllshows it) and treat any otherparam1as suspicious, a network path most of all. - Collect the DNS Server log of every DNS server, domain controllers first, together with the DNS Server audit log, which holds the setting change (541) and the restart request (548) that come with it.
Sample event
Version 0, with made-up values.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-DNS-Server-Service" Guid="{71A551F5-C893-4849-886B-B5EC8502641E}" />
<EventID>150</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000008000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>DNS Server</Channel>
<Computer>DC01.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">C:\Program Files\Example\DnsPlugin\exampleplugin.dll</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Frequently asked questions
What does DNS Server event 150 mean?
The DNS Server service tried to load or initialize the plug-in library set in its server-level plug-in setting and failed. Microsoft's resolution is to correct the plug-in or remove it from the DNS server configuration. On a server that is not meant to use a plug-in, someone configured one, and the question is who.
Does event 150 mean the DnsAdmins attack failed?
It means that this library could not be loaded or initialized at that moment. The plug-in path is still in the configuration, and a corrected library or path can follow, which DNS Server event 770 would then record as loaded. Find the setting change (DNS audit event 541), the account that made it, and clear the setting.
Where is the error code in event 150?
In the event's binary data, not in its text: Microsoft's text says the event data is the error code returned by the load or initialization attempt. Microsoft does not list the codes, so read the binary data next to the library path when you troubleshoot a plug-in you own.
How do I check whether a DNS server has a plug-in configured?
Run (Get-DnsServerSetting -All).ServerLevelPluginDll on the DNS server, or dnscmd /info /serverlevelplugindll. The setting is empty unless a plug-in is configured. Check every DNS server, domain controllers first.