0

Hello,

I add Master DNS and it works. but after add secondary dns, master and secondary not sync

Error:

[12/15/2020 1:08:12 AM] ERROR: ‘Microsoft DNS Server 2012+’ AddSecondaryZone
System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter ‘MasterServers’. The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again. —> System.Management.Automation.ValidationMetadataException: The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again.
at System.Management.Automation.ValidateNotNullOrEmptyAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics)
at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
— End of inner exception stack trace —
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at SolidCP.Providers.DNS.PowerShellHelper.RunPipeline(Command[] pipelineCommands)
at SolidCP.Providers.DNS.DnsCommands.Add_DnsServerSecondaryZone(PowerShellHelper ps, String zoneName, String[] masterServers)
at SolidCP.Server.DNSServer.AddSecondaryZone(String zoneName, String[] masterServers)

Answered question