question

Matt-5439 avatar image
0 Votes"
Matt-5439 asked Matt-5439 commented

Is this still a case?

Hi all,

i use Set-DnsServerResourceRecord to change the IP of that record to 192.168.0.200
PTR 192.168.0.100 is purged automatically from the rev zone and 192.168.0.200 is not showing up in its place
See the link:
https://social.technet.microsoft.com/Forums/en-US/68124bd3-7b53-4e01-aaa3-89e2bdf38bf1/trigger-quotupdate-associated-pointer-ptr-recordquot-via-powershell?forum=winserveripamdhcpdns

Is this still a case? anyway to get around it?

Thank you!

windows-serverwindows-server-powershell
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.

1 Answer

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered Matt-5439 commented

You need to create the PTR record. It'd probably be easier to get the PTR resource record before changing the A resource record. Then create a new PTR using the information from the old one (e.g. use the old record's zone name, TTL, etc.).

· 3
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.

@RichMatheisen-8856 this is unexpected to remove associated PTR. is there a way to trigger "Update associated pointer (PTR) record" through powershell as in windows DNS console? Thank you!

0 Votes 0 ·

No. That's just a shortcut in the UI.

0 Votes 0 ·
Matt-5439 avatar image Matt-5439 RichMatheisen-8856 ·

@RichMatheisen-8856 even set to same IP through PS, the PTR got removed. So, this is expected behavior and no way to preserve the PTR
with that set command? thanks

0 Votes 0 ·