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