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-resolve" section="1" desc="Resolve one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon">
25
26	<synopsis>
27      <cmd>avahi-resolve --name <arg>host-name ...</arg></cmd>
28      <cmd>avahi-resolve-host-name <arg>host-name ...</arg></cmd>
29      <cmd>avahi-resolve --address <arg>address ...</arg></cmd>
30      <cmd>avahi-resolve-address <arg>address ...</arg></cmd>
31	</synopsis>
32
33    <description>
34      <p>Resolve one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon.</p>
35	</description>
36
37	<options>
38
39      <p>When passing -n, specify one or more fully qualified mDNS/DNS host name(s)
40      (e.g. "foo.local") to resolve into IP addresses on the
41      command line. When passing -a, specify one or more IP address
42      to resolve into host names.</p>
43
44      <p>avahi-resolve-host-name is equivalent to avahi-resolve --name.</p>
45
46      <p>avahi-resolve-address is equivalent to avahi-resolve --address.</p>
47
48	  <option>
49		<p><opt>-n | --name</opt></p>
50		<optdesc><p>Translate one or more fully qualified host names into addresses.</p></optdesc>
51	  </option>
52
53	  <option>
54		<p><opt>-a | --address</opt></p>
55		<optdesc><p>Translate one or more addresses into fully qualified host names.</p></optdesc>
56	  </option>
57
58      <option>
59        <p><opt>-v | --verbose</opt></p>
60        <optdesc><p>Enable verbose mode.</p></optdesc>
61      </option>
62
63      <option>
64        <p><opt>-6</opt></p>
65        <optdesc><p>When resolving a host name, look for IPv6 addresses exclusively.</p></optdesc>
66      </option>
67
68      <option>
69        <p><opt>-4</opt></p>
70        <optdesc><p>When resolving a host name, look for IPv4 addresses exclusively.</p></optdesc>
71      </option>
72
73	  <option>
74		<p><opt>-h | --help</opt></p>
75		<optdesc><p>Show help.</p></optdesc>
76	  </option>
77
78
79	  <option>
80		<p><opt>-V | --version</opt></p>
81		<optdesc><p>Show version information.</p></optdesc>
82	  </option>
83
84
85	</options>
86
87	<section name="Authors">
88	  <p>The Avahi Developers &lt;@PACKAGE_BUGREPORT@&gt;; Avahi is
89	  available from <url href="@PACKAGE_URL@"/></p>
90	</section>
91
92	<section name="See also">
93	  <p>
94        <manref name="avahi-publish-address" section="1"/>,
95        <manref
96        name="avahi-daemon" section="8"/>
97	  </p>
98	</section>
99
100	<section name="Comments">
101	  <p>This man page was written using <manref name="xml2man" section="1"
102		  href="http://masqmail.cx/xml2man/"/> by Oliver Kurth.</p>
103	</section>
104
105  </manpage>
106