The zone is locked for zone transfer or update

  • Thread starter Thread starter Irena
  • Start date Start date
I

Irena

Hello,

My application modifies the .dns files of a forward lookup zone and
then reloads the zone. But doing the reload sequentially I get this
error: "Failed to reload zone The zone is locked for zone transfer or
update". The same if I perform "Reload" from the dns mmc.

I've noticed that the zone is locked for ~3 min. I understand the lock
is needed in order to transfer the zone to the secondaries, but:
1. If the zone transfer is not allowed for this zone, it's still being
locked (for ~2 min) as well.
2. How can I reduce the locking time?

Please, assist.
 
In
Irena said:
Hello,

My application modifies the .dns files of a forward
lookup zone and then reloads the zone. But doing the
reload sequentially I get this error: "Failed to reload
zone The zone is locked for zone transfer or update".
The same if I perform "Reload" from the dns mmc.

I've noticed that the zone is locked for ~3 min. I
understand the lock is needed in order to transfer the
zone to the secondaries, but:
1. If the zone transfer is not allowed for this zone,
it's still being locked (for ~2 min) as well.
2. How can I reduce the locking time?

Please, assist.

Is the zone stored in Active Directory?
 
Kevin D. Goodknecht Sr. said:
In

Is the zone stored in Active Directory?

No, the zone is not ActiveDirectory integrated, but stored in the
files.
Modifying these files and reloading the zone from them causes it to be
locked for a long time. The question is - how to reduce this time?
 
In
Irena said:
No, the zone is not ActiveDirectory integrated, but stored in the
files.
Modifying these files and reloading the zone from them causes it to be
locked for a long time. The question is - how to reduce this time?

Not knowing exactly what your app is doing, nor do I know enough about app
development in order to help in diagnosing exactly how or why its doing
this, but maybe can you get your application to stop the DNS service
momentarily while it updates the zone files, then restart the service? This
would take a shorter amount of time then the lock time you are experiencing.

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Security Is Like An Onion, It Has Layers
HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
Back
Top