Specifying a view for dig?

Michael Rasmussen mikeraz at patch.com
Fri Feb 8 05:53:37 UTC 2008


I'd like to specify a particular view for dig so that from an internal client I can do something  like

  for s in secondary1.example.com secondary.example.net myserver.mydomain.org
  do  
      echo -n "$s  "
      dig @$s questionalably_syncddomain.net  SOA | egrep "^q.*SOA" 
  done

Giving myself no mental breakdown room to compare the results.

This is presuming the source IP of the digging client is in a seperate view between mydomain.org and the other two.

The dig manpage has nothing on view.
A web search for terms including dig and view return too much irrelevant stuff.

Is it possible?

-- 
      Michael Rasmussen, Portland Oregon  
    Be appropriate && Follow your curiosity
          http://www.patch.com/words/ 
  The fortune cookie says:
"Rights" is a fictional abstraction.  No one has "Rights", neither machines
nor flesh-and-blood.  Persons... have opportunities, not rights, which they
use or do not use.
		-- Lazarus Long



More information about the bind-users mailing list