dots in hostnames problem

Phil Mayers p.mayers at imperial.ac.uk
Fri Mar 11 16:00:34 UTC 2011


On 11/03/11 15:53, John Wobus wrote:
> On Mar 10, 2011, at 4:24 PM, Matt Rae wrote:
>> Thanks guys, sounds like a solution would be to transfer the zone
>> files outside of bind. I'll give some of the suggestions a try.
>>
>> Matt
>
> I can't help but be curious. What problem would be solved by
> transferring the zone files outside of bind?

Using:

dig @server zone axfr

...gives you a "raw" zone, suitable for parsing by simple scripts e.g. 
awk/sed/grep - the output omits any of the $ORIGIN or other bind zone 
macros, and has fully-qualified names and data in all fields.

Similar effect as named-compilezone



More information about the bind-users mailing list