question

TomGassett-4036 avatar image
0 Votes"
TomGassett-4036 asked EE-9037 commented

Issue with DNS records not updating

I am running Server 2016/2019 DC's. DCs are located in 4 different offices connected by vpn connections. All servers are in the same domain.
DNS is AD integrated. All DCs run dhcp and dns.
I have two DC's in the main office and one DC in remote_office1, remote_office2, and remote_office3.
Issue: Earlier this week I went to remote_office3 and did some work with my laptop. The next day I returned to the main office. I needed to scan a document to my laptop and after it failed I troubleshot and found out the reason was because my laptop was still in DNS with a pointer record from the subnet in remote_office3. I have seen this happen before and I am not completely sure there is anything wrong. My dhcp servers, on the DNS tab, have the options set for "always dynamically update dns records, and discard a and ptr records when the lease is deleted".
This problem does not happen very often as people work out of the same office most times. What do I need to do to make sure I have everything setup properly and how can I make DNS records update quicker or what can I do to make this work more smoothly for when someone goes from office to office? Thanks for the help

windows-dhcp-dns
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.

TomGassett-4036 avatar image
0 Votes"
TomGassett-4036 answered

In which event log will I find these errors?

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.

TomGassett-4036 avatar image
0 Votes"
TomGassett-4036 answered

I can already say just after glancing at the article that I DO NOT have reverse lookup zones for at least one office. That might be my problem. Let me look. Will reply tomorrow. In which event log will I find these errors? The System log?

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.

TomGassett-4036 avatar image
0 Votes"
TomGassett-4036 answered EE-9037 commented

I will look at that and reply.

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

Hi @TomGassett-4036 - Could you please tell me how you resolved this issue? I have the same issue. Thank you.

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

Might need to dig into the event logs.
https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-dns-events

--please don't forget to Accept as answer if the reply is helpful--





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.

TomGassett-4036 avatar image
0 Votes"
TomGassett-4036 answered

It looks like I still might have a problem.
I went to a remote office to work over the weekend. At that office I received an ip address from the local dhcp server.
When I got back to the main office this morning I plugged in my laptop and started to work. Everything worked perfectly until I tried to scan a document to a shared folder on my computer. After a little investigation I discovered that my computer name was still registered in DNS with the ip I had over the weekend at the remote office. I had to go into DNS and delete the A record before my current (and correct) record would show up.
What do I have configured incorrectly? When I move to another office and get an ip from a local dhcp server it should be registered in DNS and then a day or two later when I move to another office and get a new ip address from a local dhcp server shouldn't the entry in DNS for my computer be updated when I get a new ip?
Maybe I don't understand it as well as I thought i did. Certainly possible.

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.

TomGassett-4036 avatar image
0 Votes"
TomGassett-4036 answered GloriaGu-MSFT commented

Thank you. Hopefully my issue is resolved. I will monitor it like you recommended. If I have more issues I will post a new question.

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

Thank you. Please feel free to contact us at any time~

0 Votes 0 ·
TomGassett-4036 avatar image
0 Votes"
TomGassett-4036 answered GloriaGu-MSFT edited

Thanks for the replies. Sorry for not getting back to this sooner.
First, I am not sure I have a problem. I know something was not working right but I went back and checked my settings on all dhcp servers and they were NOT set the same as far as IPV4 and Scope properties for DNS. They are all set the same now. See responses below.

on No. 1 - all DNS servers are set to "secure only"

on No. 2 - all dhcp servers are set to "Always dynamically update DNS records"

For the rest - I don't have any of my DHCP servers in the DnsUpdateProxy group

I have not had any more problems with this since Friday. What else can you tell me about my situation? thank you

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

Hi,
According to your description, the problem was solved and haven't reproduced again. So it would be difficult for us to find the root cause.
I would suggest you to monitor for a while, if there're any further questions, please feel free to open a new thread again. We will spare no effort to help you.
What's more, please remark my answer if it's helpful, I would appreciate it, thank you!

0 Votes 0 ·
GloriaGu-MSFT avatar image
0 Votes"
GloriaGu-MSFT answered

@TomGassett-4036 Hi,

Thank you for posting in Q&A!

I want to confirm the following information first:
1.do the DC with problem enable secure only dynamic update?

45600-22.png
2.do the DHCP server update the PTR record or the client itself?

45713-23.png

Usually, the DHCP server will update the PTR record. If PTR record fail to update, please check the following things:
1.For secure dynamic update, please verify if the DHCP server's computer account was added in DnsUpdateProxy in ADUC or if the DHCP credentials was configured on DHCP server.


2.Please try to enable this option in the Advanced TCP/IP settings of the client.

45606-24.png


3.Please try to enable the aging and scavaging in DNS settings.

There's a similar case, please refer to:
https://docs.microsoft.com/en-us/answers/questions/128509/dynamic-a-records-of-clients-can-be-created-well-b.html



Hope you have a nice day : )
Gloria
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
https://docs.microsoft.com/en-us/answers/articles/67444/email-notifications.html



22.png (13.0 KiB)
23.png (16.8 KiB)
24.png (3.0 KiB)
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.

DSPatrick avatar image
0 Votes"
DSPatrick answered

If the domain controller for the site you connected to was updated but others were not then it may be a site replication issue, otherwise it may be some registration problem.


--please don't forget to Accept as answer if the reply is helpful--


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.

TomGassett-4036 avatar image
0 Votes"
TomGassett-4036 answered TomGassett-4036 edited

Yes, I checked other DC's and some of them had the old DNS entry for my laptop. I deleted old the pointer record on each server. I don't remember which one's.
I think I understand what you are asking.

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.