09-24-2014
Hi,
The /etc/hosts file is local only to the server that it is on - other servers don't actually know about it.
It is used to allow the local server to identify other hosts on a network, it has generally fallen out of favour where there are comprehensive DNS services etc.
Regards
Dave
10 More Discussions You Might Find Interesting
1. IP Networking
ok i have a question now when i add machines on network that are running unix do i add them in the /etc/hosts file also include them in dns (4 Replies)
Discussion started by: rmuhammad
4 Replies
2. UNIX for Advanced & Expert Users
Hey all,
I'm having some apache problems. I've installed apache countless times on FreeBSD. However, I'm having some problems and I could use some help. Here is my system info:
FreeBSD 5.2.1
Apache 2.0.51 (/usr/local/apache2), doc root (/www symlink to /var/www)
PHP 5.0.1 (/usr/local/php)... (2 Replies)
Discussion started by: ezekiel61
2 Replies
3. IP Networking
Hi
I have my DNS servers (BIND 8) running on two Solaris 8 boxes. I need to be able to resolve an address blah.xxx.net to an IP address followed by :8080 - (for Tomcat). I tried doing this in my zone file but it failed. Can someone give me a pointer on where this configuration should be done?... (1 Reply)
Discussion started by: korfnz
1 Replies
4. UNIX for Advanced & Expert Users
I have configured my solaris 9 box to obtain a IP from the DHCP server which is on windows, I have also set up the DNS with domain name and name servers under /etc/resolv.conf
I can ping a ip address I just cant seem to ping hostnames, theres probaly something im not doing. I have looked through... (9 Replies)
Discussion started by: Mr Pink
9 Replies
5. UNIX for Advanced & Expert Users
Hi,
This is more of a verification rather than a question of technical nature.
This is based on solaris 10 machine
Could we use Virtual hosts (within our hosts file):
123.1.1.10 virtual_host_name
123.1.1.10 host_A
(note: 123.1.1.10 - host_A is also in our DNS server entry)
And... (0 Replies)
Discussion started by: jackola
0 Replies
6. Solaris
Hi all
Is there any reason to have "hosts ldap dns" as line in /etc/nsswitch.conf ? My understanding is that ldap does not contain any host information..(?)
Best regards...Ludwig (1 Reply)
Discussion started by: ludwig
1 Replies
7. Solaris
As i understand, host/nslookup/dig only query DNS server to resolve name to ip.
ping can query both, but it seems if ping is blocked, ping won't return IP.
traceroute can query both, but i am not able to test if traceroute is blocked, What is the result?
Neither ping/traceroute is... (3 Replies)
Discussion started by: honglus
3 Replies
8. IP Networking
Hi all,
I have an entry in my hosts file on a server called tractor as follows:
10.67.34.128 digger-m2m digger
I have a DNS server configured but it doesn't seem to know about digger. When I do an nslookup on tractor for digger i get the following:
new_dns1.oam.uk can't find digger: Non... (0 Replies)
Discussion started by: Donkey25
0 Replies
9. IP Networking
Old skool UNIX and Linux geek here, but newbie to the world of DNS and bind. I've recently been tasked with replacing our DNS infrastructure, currently on Windows, with a RHEL based solution. And I assume that means using bind, which I've not used before. Here's my question:
Suppose our company... (3 Replies)
Discussion started by: lupin..the..3rd
3 Replies
10. AIX
Hello guys,
I am new to AIX .
I have two AIX v5.3 servers running BIND DNS service on them. The plan is to shut down only the DNS service on them, but in order to do that I have to determine which internal hosts are still using the servers to resolve DNS queries.
Can you please advice on... (2 Replies)
Discussion started by: tihomirvs
2 Replies
LEARN ABOUT OPENDARWIN
avahi-daemon
avahi-daemon(8) System Manager's Manual avahi-daemon(8)
NAME
avahi-daemon - The Avahi mDNS/DNS-SD daemon
SYNOPSIS
avahi-daemon [options]
avahi-daemon --kill
avahi-daemon --reload
avahi-daemon --check
DESCRIPTION
The Avahi mDNS/DNS-SD daemon implements Apple's Zeroconf architecture (also known as "Rendezvous" or "Bonjour"). The daemon registers local
IP addresses and static services using mDNS/DNS-SD and provides two IPC APIs for local programs to make use of the mDNS record cache the
avahi-daemon maintains. First there is the so called "simple protocol" which is used exclusively by avahi-dnsconfd (a daemon which config-
ures unicast DNS servers using server info published via mDNS) and nss-mdns (a libc NSS plugin, providing name resolution via mDNS).
Finally there is the D-Bus interface which provides a rich object oriented interface to D-Bus enabled applications.
Upon startup avahi-daemon interprets its configuration file /etc/avahi/avahi-daemon.conf and reads XML fragments from /etc/avahi/ser-
vices/*.service which may define static DNS-SD services. If you enable publish-resolv-conf-dns-servers in avahi-daemon.conf the file
/etc/resolv.conf will be read, too.
OPTIONS
-f | --file= FILE
Specify the configuration file to read. (default: /etc/avahi/avahi-daemon.conf)
-D | --daemonize
Daemonize after startup. Implies --syslog.
-s | --syslog
Log to syslog instead of STDERR. Implied by --daemonize.
--debug
Increase verbosity to debug level.
--no-rlimits
Don't enforce resource limits as specified in the configuration file. (See setrlimit(2) for more information)
--no-drop-root
Don't drop root privileges after startup and don't require daemon to be started as root. We recommend not to use this option.
--no-chroot
Don't chroot(2) the daemon. This option is only available when compiled with chroot() support.
--no-proc-title
Don't change the process name while running. Unless this option is specified avahi-daemon will reflect its current state and the
selected host name in the process title.
-k | --kill
Kill an already running avahi-daemon. (equivalent to sending a SIGTERM)
-r | --reload
Tell an already running avahi-daemon to reread /etc/resolv.conf (in case you enabled publish-resolv-conf-dns-servers in avahi-dae-
mon.conf) the files from /etc/avahi/services/. Please note that this will not reload the /etc/avahi/avahi-daemon.conf. (equivalent
to sending a SIGHUP)
-c | --check
Return 0 as return code when avahi-daemon is already running.
-h | --help
Show help
-v | --version
Show version information
FILES
/etc/avahi/avahi-daemon.conf: the default configuration file for avahi-daemon, avahi-daemon.conf(5) for more information.
/etc/avahi/hosts: additional static hostname mappings to publish in mDNS, see avahi.hosts(5) for more information.
/etc/avahi/services/*.service: static service definitions, see avahi.service(5) for more information.
SIGNALS
SIGINT, SIGTERM: avahi-daemon will shutdown. (Same as --kill).
SIGHUP: avahi-daemon will reload unicast DNS server data from /etc/resolv.conf and static service definitions from /etc/avahi/services/.
(Same as --reload)
SIGUSR1: avahi-daemon will dump local and remote cached resource record data to syslog.
AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
SEE ALSO
avahi-daemon.conf(5), avahi.hosts(5), avahi.service(5), avahi-dnsconfd(8), avahi-set-host-name(1)
http://avahi.org/wiki/AvahiAndUnicastDotLocal documents the problems when using Avahi in a unicast DNS zone .local.
COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User avahi-daemon(8)