Operating System - HP-UX
1839965 Members
2591 Online
110157 Solutions
New Discussion

How many entry can be added in resolv.conf?

 
SOLVED
Go to solution
Viney Kumar
Regular Advisor

How many entry can be added in resolv.conf?

Hi

How many entry can be added in resolv.conf?

Thanks
4 REPLIES 4
VK2COT
Honored Contributor
Solution

Re: How many entry can be added in resolv.conf?

Hello,

I assume you are asking about how many
nameserver entries can be put into /etc/resolv.conf.

The answer is simple. Current standards
for resolver state that up 3 nameservers
may be listed, one per keyword.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Pete Randall
Outstanding Contributor

Re: How many entry can be added in resolv.conf?

Logic would tell us that, since this file is searched the first time the resolver is invoked for every process, we would like that search to be short. Therefore, the list should be limited to just the required entries.

From the man page:

"In order to reduce situations that may cause connections to unintended destinations, the administrator should carefully select which domains are put in the search list in the resolv.conf file. HP recommends that the possible domains for the search list be limited to those domains administered within your trusted organization."


Pete

Pete
Viney Kumar
Regular Advisor

Re: How many entry can be added in resolv.conf?

what is the exactly use of this file
Pete Randall
Outstanding Contributor

Re: How many entry can be added in resolv.conf?

It identifies the domain that this server is part of and the nameservers available for DNS resolution.


Pete

Pete