Skip to Main Content
DNS on Windows Server 2003, 3rd Edition
book

DNS on Windows Server 2003, 3rd Edition

by Cricket Liu, Matt Larson, Robbie Allen
December 2003
Intermediate to advanced content levelIntermediate to advanced
416 pages
13h 50m
English
O'Reilly Media, Inc.
Content preview from DNS on Windows Server 2003, 3rd Edition

Adding and Deleting Resource Records by Hand

Most of the time, you really should use the DNS console to make changes to your zones. However, the DNS console isn’t suited for some tasks—sometimes you might want to edit the zone datafiles by hand. For example, adding, deleting, or changing a lot of records at once is tough with the DNS console but easy with a little Perl code or a good text editor. If you run a name server for long enough, you’ll eventually want to make a change outside the DNS console.

Editing by hand is a little complicated because you have to manually perform some steps that the DNS console does for you automatically. The following list describes what to do:

  1. Remember that all changes must be made on a zone’s primary name server. This is the case whether you’re using the DNS console or editing by hand. If you make changes to the zone datafile on a secondary, the next zone transfer from the primary will overwrite your work.

  2. If you’ve made any changes using the DNS console since you started the name server (that usually means since the last reboot), stop the name server. Here’s why: when you change a zone with the DNS console, the change takes effect in the primary name server’s memory right away, but the zone datafile on disk is not updated immediately. The name server sets an internal “update pending” flag to remind itself that that zone’s datafile needs updating. If you select Action Update Server Data Files, all the zone datafiles of changed zones are updated ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Server 70-741: Networking with Windows Server 2016

Windows Server 70-741: Networking with Windows Server 2016

Andrew Warren
Mastering VMware vSphere 6.7 - Second Edition

Mastering VMware vSphere 6.7 - Second Edition

Martin Gavanda, Andrea Mauro, Paolo Valsecchi, Karel Novak
Exam Ref MD-100: Windows 10, First Edition

Exam Ref MD-100: Windows 10, First Edition

Andrew Bettany, Andrew Warren

Publisher Resources

ISBN: 0596005628Supplemental ContentErrata Page