question

MdaKhmm-4292 avatar image
0 Votes"
MdaKhmm-4292 asked PT-5937 commented

unable to fetch the information

Hi All

I am on server01. i am trying to execute below syntax and i am getting error fetching zone information i.e for my domain.



windows-server-powershellwindows-server-2019windows-server-2016windows-dhcp-dns
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

How about posting the error message? The FullyQualifiedErrorId might be telling you what the problem is. It might look like this:

 + FullyQualifiedErrorId : WIN32 1722,Get-DnsServerResourceRecord

That would probably point to a problem with RPC (firewall problem?). You seem to go through a lot of contortions to get to the machine "mydc01".

Just because the text of the error message says "Get-DnsServerResourceRecord : Failed to get the zone information for XXXX.com on server 192.168.1.1." it doesn't tell you the whole story!

0 Votes 0 ·

Hi

Can you post your entire command and error, with screen shot

I assume you are in elevated prompt.

0 Votes 0 ·

1 Answer

GaryReynolds avatar image
0 Votes"
GaryReynolds answered MdaKhmm-4292 commented

Hi,

The first thing I noticed is that the server name on line 5, is different than the server name provided on line 1, is this correct?

What error are you getting?

Gary.

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

yes its different, i am connected to server01, from server01, i want to connect to server02's powershell and execute the syntax

0 Votes 0 ·

What's the error message you are receiving and if you run it directly on server2 without the session connection do you get the same error?

0 Votes 0 ·

Failed to get the zone information for contoso.com on server mydc01

0 Votes 0 ·

Hi,

I'm assuming that your domain is not called contoso.com, you need to change this to the dns domain on your server you want export.

Gary.

0 Votes 0 ·

i am using my domain name just for example i have used contoso.com in the syntax

0 Votes 0 ·