Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

avahi.hosts(5) [opensolaris man page]

avahi.hosts(5)                                                  File Formats Manual                                                 avahi.hosts(5)

NAME
avahi.hosts - avahi-daemon static host name file SYNOPSIS
/etc/avahi/hosts DESCRIPTION
/etc/avahi/hosts is a file which may be used to define static host name to IP address mappings for multicast DNS. This is especially useful when publishing DNS-SD services on behalf of other hosts. See avahi.service(5) for more information. The file format is similar to the one of /etc/hosts: on each line an IP address and the corresponding host name. The host names should be in FQDN form, i.e. with appended .local suffix. AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/ SEE ALSO
avahi-daemon(8), avahi.service(5) COMMENTS
This man page was written using xml2man(1) by Oliver Kurth. Manuals User avahi.hosts(5)

Check Out this Related Man Page

avahi-resolve(1)					      General Commands Manual						  avahi-resolve(1)

NAME
avahi-resolve - Resolve one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon SYNOPSIS
avahi-resolve --name host-name ... avahi-resolve-host-name host-name ... avahi-resolve --address address ... avahi-resolve-address address ... DESCRIPTION
Resolve one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon. OPTIONS
When passing -n, specify one or more fully qualified mDNS/DNS host name(s) (e.g. "foo.local") to resolve into IP addresses on the command line. When passing -a, specify one or more IP address to resolve into host names. avahi-resolve-host-name is equivalent to avahi-resolve --name. avahi-resolve-address is equivalent to avahi-resolve --address. -n | --name Translate one or more fully qualified host names into addresses. -a | --address Translate one or more addresses into fully qualified host names. -v | --verbose Enable verbose mode. -6 When resolving a host name, look for IPv6 addresses exclusively. -4 When resolving a host name, look for IPv4 addresses exclusively. -h | --help Show help. -V | --version Show version information. AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/ SEE ALSO
avahi-publish-address(1), avahi-daemon(8) COMMENTS
This man page was written using xml2man(1) by Oliver Kurth. Manuals User avahi-resolve(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

edit /etc/hosts to show mypc in who

have edit the /etc/hosts as belows 123.45.12.55 mypc so when i do a who, i can see my "mypc" BUT after i changed, i cant see "mypc" do i have to restart anything? (6 Replies)
Discussion started by: yls177
6 Replies

2. UNIX for Advanced & Expert Users

Copy a file to multiple hosts

Hi, I need to copy a file ( say 1MB file ) to multiple hosts( no of machines is huge). What would be the most optimal way of doing it with minimal user intervention ? Thanks, Sumit (5 Replies)
Discussion started by: sumsriva
5 Replies

3. HP-UX

Assigning IP's

hi all, i want to know where i can add and IP address so when i do a "w", i can see what IP is assigned to which tty? i know in tru64 you just added an entry to /etc/hosts. this does not seem to be the case with hpux. thanks (12 Replies)
Discussion started by: macgre_r
12 Replies

4. UNIX for Dummies Questions & Answers

where is Ip address stored

I run - telnet adl001 (where adl001 is a box name) and it works Ok /etc/hosts file does not have resolution of the ip address for this name where it can be found ? Thanks (5 Replies)
Discussion started by: zam
5 Replies

5. Solaris

Solaris ip Change

Hi all i changed ip of my sunfire V490 machine by using the ifconfig command i modified following files /etc/hosts /etc/netmasks /etc/defaultrouter /etc/inet/ipnodes still when i rebooted the server ip got change. can nyone tell me reasonwhy it happens....... (7 Replies)
Discussion started by: raynu.sharma
7 Replies

6. Shell Programming and Scripting

Switching hosts and paths

Hi all, Currently I work with two different hosts, one linux and one hp unix but with two separate versions of java installed (for a reason). The problem is: within the PATH there is already a /bin/java version installed i.e. when I do a printenv PATH it lists it as you'd expect. When I use... (6 Replies)
Discussion started by: cyberfrog
6 Replies

7. Shell Programming and Scripting

SED to add a suffix

Hi all, Im trying to make a proper hosts.allow with the lists of sshbl.org to block the ssh brute force attackers. The list is a text file with an IP on every line. What I've gotten up sofar is to prefix "sshd : " on every line, but I need a " : deny" suffix behind every line as well. ... (9 Replies)
Discussion started by: necron
9 Replies

8. Shell Programming and Scripting

Removing domain suffix with SED

Hi Experts, I have a syslog file from 1000's of different hosts which I want to adjust by removing the domain suffix from the hosts. My previous attempts haven't managed to match all the different lenghts of the subdomains which are being logged. Could somebody suggest which sed syntax... (6 Replies)
Discussion started by: krypton
6 Replies

9. Filesystems, Disks and Memory

SAN questions about Sun StorageTek array

Hi, I have a question about Sun StorageTek Common Array Manager (CAM): What is the concept of 'host'? Is it the hostname of the server that has access to the managed array? If so, can I use its IP instead of its hostname? I've found a 'host' under CAM called XYZ (See below). In our... (7 Replies)
Discussion started by: aixlover
7 Replies

10. Shell Programming and Scripting

Strange exit of while loop

This code is used to check for duplicate ip and hostnames in an /etc/hosts file CENTRAL is path to /etc/hosts AWK =awk #check CENTRAL for duplicate ips or hostnames# grep -v "^#" $CENTRAL | $AWK '{ print $1, $2; }' | \ while read ip hostname do if... (5 Replies)
Discussion started by: trimike
5 Replies

11. IP Networking

How to find the ip of ...

hi, i want to know how can i get the ip of the hosts that are directly connected to my computer. for example in picture 1, host A is directly connected to the hosts C, E and B. if i'm working on host A, i want to know how can i get the ip of C,E and B that are directly connected to my host(host... (7 Replies)
Discussion started by: gongotar
7 Replies

12. UNIX for Dummies Questions & Answers

Which system is faster?

i'm trying to decide if to move operations from one of these hosts to the other. but i cant decide which one of them is the most powerful. each host has 8 cpus. HOSTA processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU ... (6 Replies)
Discussion started by: SkySmart
6 Replies

13. Shell Programming and Scripting

Adding a character

Hello experts. I trying to achieve 2 things here. I'm trying to convert all of the host names to lower case and add an "m" to each hostname. Can anyone provide some guidance on what I can do? Your input is greatly valued! Here are the desired results: 1. read the host name from a file. 2.... (8 Replies)
Discussion started by: david_tech
8 Replies

14. UNIX for Dummies Questions & Answers

How to search using ssh on multiple hosts?

Hi guys - I am having a hard time trying to figure how to search for a certain string on config files hosted on multiple hosts. This is an example: Hostnames: myhost1.mycompany.com|myhost2.mycompany.com|myhost3.mycompany.com String to search for: myipaddress.somehost.com Directory... (9 Replies)
Discussion started by: DallasT
9 Replies

15. IP Networking

Help with to check the tcp network connectivity between servers and hosts

ello, i am new to the networking side. I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination. please help me where i am going wrong. my code: #!/bin/bash #read the file line by line cd "$1" cat... (17 Replies)
Discussion started by: sknovice
17 Replies