Sponsored Content
Operating Systems AIX Use of /etc/hosts files in resolving the dns name Post 302918581 by admin_db on Wednesday 24th of September 2014 09:52:59 AM
Old 09-24-2014
Use of /etc/hosts files in resolving the dns name

Hello,

For what purpose /etc/hosts file is used.I mean how any request coming to a DNS server or a switch would know that which name and ip are configured in /etc/hosts files of a server?


Best regards,
Vishal
 

10 More Discussions You Might Find Interesting

1. IP Networking

dns and hosts file

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

Apache 2 Virtual Hosts not resolving

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

Resolving port 8080 in DNS

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

DNS not resolving

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

Virtual Hosts and Alteon DNS conflicts

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

/etc/nsswitch.conf hosts ldap dns

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

Which lookup tool query both hosts and DNS server?

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

Hosts file ignored, no DNS entry but still routes!!

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

Newbie BIND DNS question: resolving upstream hosts?

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

How to find which internal hosts still using my DNS service ? Please help

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
erl_boot_server(3erl)					     Erlang Module Definition					     erl_boot_server(3erl)

NAME
erl_boot_server - Boot Server for Other Erlang Machines DESCRIPTION
This server is used to assist diskless Erlang nodes which fetch all Erlang code from another machine. This server is used to fetch all code, including the start script, if an Erlang runtime system is started with the -loader inet command line flag. All hosts specified with the -hosts Host command line flag must have one instance of this server running. This server can be started with the kernel configuration parameter start_boot_server . The erl_boot_server can both read regular files as well as files in archives. See code(3erl) and erl_prim_loader(3erl) . Warning: The support for loading of code from archive files is experimental. The sole purpose of releasing it before it is ready is to obtain early feedback. The file format, semantics, interfaces etc. may be changed in a future release. EXPORTS
start(Slaves) -> {ok, Pid} | {error, What} Types Slaves = [Host] Host = atom() Pid = pid() What = term() Starts the boot server. Slaves is a list of IP addresses for hosts which are allowed to use this server as a boot server. start_link(Slaves) -> {ok, Pid} | {error, What} Types Slaves = [Host] Host = atom() Pid = pid() What = term()() Starts the boot server and links to the caller. This function is used to start the server if it is included in a supervision tree. add_slave(Slave) -> ok | {error, What} Types Slave = Host Host = atom() What = term() Adds a Slave node to the list of allowed slave hosts. delete_slave(Slave) -> ok | {error, What} Types Slave = Host Host = atom() What = void() Deletes a Slave node from the list of allowed slave hosts. which_slaves() -> Slaves Types Slaves = [Host] Host = atom() Returns the current list of allowed slave hosts. SEE ALSO
init(3erl) , erl_prim_loader(3erl) Ericsson AB kernel 2.14.3 erl_boot_server(3erl)
All times are GMT -4. The time now is 03:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy