04-02-2003
Also ...
Also is convenient to modify the /etc/nsswitch.conf (the name server switch configuration file)
the hosts line :
From:
hosts: files
To:
hosts: files dns
Regards. Hugo.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a website to go to that gives you a set of instructions to set up DNS from start to finish? I need it for a Solaris 8 box on the Intel platform side. (3 Replies)
Discussion started by: Deuce
3 Replies
2. UNIX for Advanced & Expert Users
hello friends
I installed sun solaris 8 for x86 pc, and I want know where is the files of configuration (path), the name of files, and the named of daemon.
example: /etc/named.conf and the zones is /var/named, and the daemon is named....it's in linux system.
I need want only the name of files,... (2 Replies)
Discussion started by: themask
2 Replies
3. UNIX for Advanced & Expert Users
anyone ever seen this problem
with /etc/nsswitch.conf forcing the system to look in files then dns
but the system ignores the files and goes off check the dn servers
is there any further config I've missed ???
/etc/resolve.conf name servers >>>> boring IPS
/etc/nsswitch.conf is set to... (5 Replies)
Discussion started by: kie
5 Replies
4. Solaris
hey guys, how to add soalris box as a microsoft DNS Client ?
and how to register in the microsoft DNS ??
i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf
but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies
5. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
6. Red Hat
Hi,
I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow:
http://img689.imageshack.us/img689/6333/12234.png
How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies
7. Red Hat
I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based.
I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies
8. Linux
Hello, please where are located DNS files on various linux distributions?
Mainly im interested in CentOS (RedHat) and Ubuntu (Debian).
I mean i will be changing IPs and i have registered nameservers on my domain registar and it points to OLD IP, so i need to know in which files to edit on... (3 Replies)
Discussion started by: postcd
3 Replies
9. AIX
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 (3 Replies)
Discussion started by: admin_db
3 Replies
10. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
NSCD(8) Linux Programmer's Manual NSCD(8)
NAME
nscd - name service cache daemon
DESCRIPTION
Nscd is a daemon that provides a cache for the most common name service requests. The default configuration file, /etc/nscd.conf, deter-
mines the behavior of the cache daemon. See nscd.conf(5).
Nscd provides caching for accesses of the passwd(5), group(5), and hosts(5) databases through standard libc interfaces, such as getpw-
nam(3), getpwuid(3), getgrnam(3), getgrgid(3), gethostbyname(3), and others.
There are two caches for each database: a positive one for items found, and a negative one for items not found. Each cache has a separate
TTL (time-to-live) period for its data. Note that the shadow file is specifically not cached. getspnam(3) calls remain uncached as a
result.
OPTIONS
--help will give you a list with all options and what they do.
NOTES
The daemon will try to watch for changes in configuration files appropriate for each database (e.g., /etc/passwd for the passwd database or
/etc/hosts and /etc/resolv.conf for the hosts database), and flush the cache when these are changed. However, this will happen only after
a short delay (unless the inotify(7) mechanism is available and glibc 2.9 or later is available), and this auto-detection does not cover
configuration files required by nonstandard NSS modules, if any are specified in /etc/nsswitch.conf. In that case, you need to run the
following command after changing the configuration file of the database so that nscd invalidates its cache:
$ nscd -i <database>
SEE ALSO
nscd.conf(5), nsswitch.conf(5)
COLOPHON
This page is part of release 3.55 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2012-05-10 NSCD(8)