Re: bind 9.3.2 linux utilities
On Oct 30 2008, James M wrote:
>> anyone know of a command that will return all cname's for a given host?
>> or is there possibly an api (perl or php) to do the same?[/color][/color]
>I'm talking about my in-house authoritative zones only.
>Parsing the files will not work in some cases when there are entries in the
>journal file via dynamic update.
>I can programatically freeze/unfreeze the zone but thats an awkward heavy
>I believe dig or nslookup should provide this functionality.[/color]
Well, they do, in the sense that they will do zone transfers for you.
host(1) will even pick out just the CNAMEs for you:
host -l -t cname zone.example