Cleaning up DNS zone files...

Dawn Connelly dawn.connelly at gmail.com
Thu Jan 18 17:51:34 UTC 2007


If the zones are fully operational, do a zone transfer to a different
machine and poof- the file is correctly formatted. Import the data (minus
the header obviously) and you are done.
</end two cents>

On 1/18/07, Forrest Aldrich <forrie at forrie.com> wrote:
>
> I've inherited a slew of DNS zonefiles which need to be cleaned up -
> mostly formatting.
>
> I can use tools like dnslint to indentify errors; however, I wonder if
> someone has a slick hack (script, regex) that can be utilized to run
> through and reformat the zonefiles (forward and reverse) to get them in
> order and tidy.
>
>
> Thanks.
>
>
>
>




More information about the bind-users mailing list