We help IT Professionals succeed at work.
Troubleshooting Question

DNS issue with DHCP releaes IP Address

54 Views
Last Modified: 2020-08-28
Hi All
 
Today I have found there are some users PC’s DNS not matching with DHCP IP’s so i cants reach the computer by computer name.
How can I manage if DHCP releases a new IP address to the computer and the same time update DNS?

Comment
Watch Question

CERTIFIED EXPERT

Commented:
What are you using as DHCP and DNS servers?

Author

Commented:
DNS and DHCP server is server 2019. both are separate windows VM
CERTIFIED EXPERT

Commented:
CERTIFIED EXPERT

Commented:
It requires an additional step given that you have the servers on different VMs.

Author

Commented:
Thank you I will make changes and update you
Hello ThereSystem Administrator
CERTIFIED EXPERT
Distinguished Expert 2018

Commented:
A few points to note.

1. Have you configured Server Options?
DHCP -> IPv4 -> Server Options -> Configure Options -> Add:
006 DNS Servers = DNS server IP adresses, use all if possible
015 DNS Domain name = FQDN

2. Have you configured Scope Options?
DHCP -> IPv4 -> YourScope -> Scope Options -> Configure Options -> Add:
003 Router = default gateway IP address
006 DNS Servers = DNS server IP adresses, use all if possible
015 DNS Domain name = FQDN

3. DHCP -> right-click the IPv4 -> DNS tab -> make sure that "Allways dynamically update DNS records" and "Discard A and PTR records..." options are checked.

4. Have you pointed the router to the new DHCP server? If not, add the IP helper-address on the main router.
CERTIFIED EXPERT

Commented:
@Hello There:

There was an additional step mentioned in the link for cases where the DNS and DHCP servers are not on the same server:
If the DHCP server is on a different machine than the Domain Controller, make sure to include the DHCP server in the DnsUpdateProxy group in Active Directory (see figure below). Otherwise, the DHCP server will not be able to update the records on DNS server.

I wasn't aware of this step.

Author

Commented:
Hi Hello There and CompProbSolv ,

I have followed DHCP setting and  I have found duplicate host entry with same IP address.
I have run Start-DnsServerScavenging ON DNS server and  I can see below events.

Start-DnsServerScavenging

The DNS server has completed a scavenging cycle but no nodes were visited. Possible causes of this condition include:
 
  1) No zones are configured for scavenging by this server.
  2) A scavenging cycle was performed within the last 30 minutes.
  3) An error occurred during scavenging.
 
The next scavenging cycle is scheduled to run in 72 hours.

How can avoid duplicate host record and delete old dns entry


System Administrator
CERTIFIED EXPERT
Distinguished Expert 2018
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.