1<?xml version="1.0"?><!--*-nxml-*--> 2<!DOCTYPE manpage SYSTEM "xmltoman.dtd"> 3<?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?> 4 5<!-- $Id$ --> 6 7<!-- 8 This file is part of avahi. 9 10 avahi is free software; you can redistribute it and/or modify it 11 under the terms of the GNU Lesser General Public License as 12 published by the Free Software Foundation; either version 2.1 of the 13 License, or (at your option) any later version. 14 15 avahi is distributed in the hope that it will be useful, but WITHOUT 16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 17 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General 18 Public License for more details. 19 20 You should have received a copy of the GNU Lesser General Public 21 License along with avahi; if not, write to the Free Software 22 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 23 USA. 24--> 25 26 <manpage name="avahi-dnsconfd.action" section="8" desc="avahi-dnsconfd action script"> 27 28 <synopsis> 29 <cmd>@pkgsysconfdir@/avahi-dnsconfd.action</cmd> 30 </synopsis> 31 32 <description> 33 <p><file>avahi-dnsconfd.action</file> is the action script that 34 is called whenever a new unicast DNS server is found or 35 removed by avahi-dnsconfd. The default script as shipped 36 with avahi patches <file>/etc/resolv.conf</file> to reflect the 37 changed unicast DNS server configuration.</p> 38 </description> 39 40 <section name="Parameters"> 41 42 <option> 43 <p><opt>argv[1]</opt> Contains the character "+" if the DNS server is new, "-" when it shall be removed from the DNS server list.</p> 44 </option> 45 46 <option> 47 <p><opt>argv[2]</opt> The IP address of the DNS server.</p> 48 </option> 49 50 <option> 51 <p><opt>argv[3]</opt> Numerical network interface number this DNS server was found on.</p> 52 </option> 53 54 <option> 55 <p><opt>argv[4]</opt> Numerical protocol number this DNS server was found on. (usually 2 for IPv4 and 10 for IPv6) </p> 56 </option> 57 58 </section> 59 60 <section name="Environment"> 61 <option> 62 <p><opt>AVAHI_INTERFACE</opt> Contains the textual interface name the corresponds with argv[3]. (e.g. "eth0")</p> 63 </option> 64 65 <option><p><opt>AVAHI_INTERFACE_DNS_SERVERS</opt> Contains a 66 list of all DNS servers that avahi-dnsconfd found on the 67 interface <opt>$AVAHI_INTERFACE</opt>, separated by 68 spaces.</p></option> 69 70 <option><p><opt>AVAHI_DNS_SERVERS</opt> Contains a list of all 71 DNS server that avahi-dnsconfd found on all interfaces, 72 separated by spaces.</p></option> 73 74 </section> 75 76 <section name="Authors"> 77 <p>The Avahi Developers <@PACKAGE_BUGREPORT@>; Avahi is 78 available from <url href="@PACKAGE_URL@"/></p> 79 </section> 80 81 <section name="See also"> 82 <p> 83 <manref name="avahi-dnsconfd" section="8"/>, <manref name="avahi-daemon" section="8"/> 84 </p> 85 </section> 86 87 <section name="Comments"> 88 <p>This man page was written using <manref name="xml2man" section="1" 89 href="http://masqmail.cx/xml2man/"/> by Oliver Kurth.</p> 90 </section> 91 92 </manpage> 93