1 <?xml version="1.0"?><!--*-nxml-*-->
2 <!DOCTYPE manpage SYSTEM "xmltoman.dtd">
3 <?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
6 This file is part of avahi.
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.
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.
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
24 <manpage name="avahi-dnsconfd.action" section="8" desc="avahi-dnsconfd action script">
27 <cmd>@pkgsysconfdir@/avahi-dnsconfd.action</cmd>
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>
38 <section name="Parameters">
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>
45 <p><opt>argv[2]</opt> The IP address of the DNS server.</p>
49 <p><opt>argv[3]</opt> Numerical network interface number this DNS server was found on.</p>
53 <p><opt>argv[4]</opt> Numerical protocol number this DNS server was found on. (usually 2 for IPv4 and 10 for IPv6) </p>
58 <section name="Environment">
60 <p><opt>AVAHI_INTERFACE</opt> Contains the textual interface name the corresponds with argv[3]. (e.g. "eth0")</p>
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
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>
74 <section name="Authors">
75 <p>The Avahi Developers <@PACKAGE_BUGREPORT@>; Avahi is
76 available from <url href="@PACKAGE_URL@"/></p>
79 <section name="See also">
81 <manref name="avahi-dnsconfd" section="8"/>, <manref name="avahi-daemon" section="8"/>
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>