Re: /etc/resolv.conf - Number of Nameservers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manish Kathuria wrote:
What is the maximum number of nameservers mentioned in /etc/resolv.conf
which will be queried while looking up a hostname or IP address in Fedora
8 ? Earlier implementations had a ceiling of 3 nameservers which could be
queried. Has there been any increase ?

This is not from fedora...but I suspect it is quite the same....

Check "man resolv.conf" and you may see the statement "

"The maximum number of DNS servers to use is set by MAXNS (see <resolv.h> )"

and if you then look in /usr/include/resolv.h you see....

# define MAXNS                  3       /* max # name servers we'll track */


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux