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