• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2318
  • Last Modified:

IPconfig /registerdns

Couple of questions Experts:

1- I used to have some record in the DNS zone, then I manually deleted them.
The haven't shown up again after waiting for ever. I had to go to the hosts and run IPconfig /registerdns.
I wonder how long it takes to a deleted host record to show up again in DNS zone.

2- I also want to know about how long  reverse lookup zone gets populated.
initially I haven't created a Reverse Lookup zone ( I believe this doesn't get created automatically as Forward Lookup does when using DCprom). Now I want to create a Reverse Lookup zone, and make host records in Forward Lookup able to create PTR records without me going to each host record and tell it to create a PTR in the Revers Lookup.

Thanks



0
jskfan
Asked:
jskfan
  • 3
  • 2
1 Solution
 
Chris DentPowerShell DeveloperCommented:

1. It should be immediate. If not, check the event log for DNSAPI errors. Those will appear if "ipconfig /registerdns" is having problems completing.

As odd as it sounds, the DHCP Client service is responsible for executing that update (even if the IP is static), so make sure that service is running. By default it will post a Refresh once every 24 hours, or whenever the IP changes, or whenever the service (or system) is restarted, or whenever you run "ipconfig /registerdns".

That only accounts for systems that update DNS directly. If it's a DHCP client, and DHCP updates DNS on the clients behalf then it will wait until DHCP posts the update. You may be able to force it by refreshing the lease with "ipconfig /renew".

By default DHCP updates DNS once at the beginning of a lease, and once 50% of the way through the lease.

2. Same applies as the Forward Lookup Zone. Exactly the same mechanism is used. If everything is running default settings you should have to wait no longer than 24 hours or half of your DHCP lease (whichever is longer) before everything is fully populated.

Chris
0
 
jskfanAuthor Commented:
currently I haven't set up DHCP server, I run Ipconfig/registerdns, the I went to forward lookup zone and there was no record showing up, I reloaded the zone, refreshed the zone and there was no record. I gave up for a while since I was doing other things, and when I came back, hit Refresh and the record showd up. I don't know what could have dekayed it to show up.
0
 
Chris DentPowerShell DeveloperCommented:

Presumably you're looking at the DNS server is uses as Preferred in it's TCP/IP configuration?

Chris
0
 
jskfanAuthor Commented:
Yes the DNS it uses as Preferred in it's TCP/IP configuration.
AS a matter of in one DNS console I added alll DNS servers(which are also DCs) so that I can check them from one console.

0
 
Chris DentPowerShell DeveloperCommented:

It sounds like it's working, although I would also expect it to reflect the change a little more swiftly. Verify that it isn't posting DNSAPI errors before succeeding?

Chris
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now