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