home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / scrconf / resolv.scr < prev    next >
Encoding:
Text File  |  2006-11-29  |  1.2 KB  |  45 lines

  1. /**
  2.  * File:
  3.  *   resolv.scr
  4.  * Summary:
  5.  *   SCR Agent for interfacing accessing /etc/resolv.conf, 
  6.  *   the resolver (name server) configuration file.
  7.  * Access:
  8.  *   read/write
  9.  * Authors:
  10.  *   Unknown <yast2-hacker@suse.de>
  11.  * See:
  12.  *   libscr
  13.  *   man resolv.conf
  14.  *   man resolver
  15.  *   source/y2scr/ag_resolver/doc/resolveragent.txt
  16.  *   http://w3.suse.de/~poeml/resolv.conf-modification-howto.txt
  17.  * Example:
  18.  *   Read(.resolver.domain)
  19.  *   ("suse.de")
  20.  **
  21.  *   Read(.resolver.nameserver)
  22.  *   (["10.10.0.1", "10.10.10.1", "10.10.11.1"])
  23.  **
  24.  *   Write(.resolver.domain, "suse.de")
  25.  *   (true)
  26.  * 
  27.  * $Id: resolv.scr 13018 2003-12-11 12:52:53Z jhumpol $
  28.  *
  29.  * <p>The target agent is the SCR interface to /etc/resolv.conf,
  30.  * the resolver (name server) configuration file.</p>
  31.  *
  32.  * <p>Using "search, "nameserver", "domain", "sortlist" and "options" 
  33.  * as subpaths, the respective values can be read/written.</p>
  34.  * 
  35.  * <p>Info paths can be read/written using "modified", "backup", "process", 
  36.  * "process_id", "script" and "info" as subpaths of .resolver.</p>
  37.  *
  38.  * <p>For more information see the agent's own documentation.</p>
  39.  */
  40. .resolver
  41.  
  42. `ag_resolver (
  43.     `ResolverAgent ("/etc/resolv.conf")
  44. )
  45.