03-22-2006
The resolv.conf tells the resolver library functions how names should be resolved. It is read the first time a process calls any of the resolver functions.
10 More Discussions You Might Find Interesting
1. HP-UX
Hello all!
During a network audit, I came across a host running a service on a high port (34604). Not recognizing the port, I used a tool called 'amap' (THC-AMAP - fast and reliable application fingerprint mapper) to fingerprint it.
This tool also did not fingerprint it correctly, but did... (2 Replies)
Discussion started by: dan.king
2 Replies
2. UNIX for Dummies Questions & Answers
dears
am having solaris 10, and i would like to know if the NTP service is running when the OS staritng?on the other hand how can i make it start at the boot up?note the ntp is managed by the SMF in solaris 10.
thanks a lot (2 Replies)
Discussion started by: thehero
2 Replies
3. Linux
We are using TeamSite application. Its a content management system application.
How can I check if TeamSite service is running or not using ksh onn Linux platform ? On Windows its easy, I can do services.msc and entire list will come up. How to check it in Linux ?
I tried using 'ps -ef', it... (4 Replies)
Discussion started by: paramshamnani
4 Replies
4. Red Hat
Hi All,
I am new to linux and i am configuring DNS server but while i restart service it shows below given error. Please help to solve this error.
# /etc/init.d/named restart
Stopping named:
Generating /etc/rndc.key:
... (2 Replies)
Discussion started by: Chintanghanti
2 Replies
5. 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
6. Red Hat
Hello,
I'l like to create a script that restart a service (/etc/init.d/httpd restart) and also check if after restart the service is actually running. Sometimes it happen that at the first try the service fails to restart.
Thanks (2 Replies)
Discussion started by: bazzola
2 Replies
7. Red Hat
Hi
How ssh service at all levels always running in her file /etc/inittab?
vi /etc/inittab
10::respawn:/etc/init.d/sshd
I added this line
& save
run init q
But it did not (6 Replies)
Discussion started by: mnnn
6 Replies
8. Solaris
Hi,
For audit reasons, I need to stop the web server service in some Solaris servers.
The port that is listening for this service is port 10000.
This is the output that shows the port 10000 is open in the server :
# netstat -an | grep 10000
10.70.21.144.10000 10.70.21.133.58130 49640... (6 Replies)
Discussion started by: anaigini45
6 Replies
9. Solaris
Hi
I have installed using tar a program called rabbitmq, and when I try to start it according to documentation, I get the following error:
/usr/local/sbin/rabbitmq_server-3.6.14/sbin# ./rabbitmq-server
./rabbitmq-server: .: local: not found ... (7 Replies)
Discussion started by: fretagi
7 Replies
10. Shell Programming and Scripting
Hi
I have created a PowerShell script which successfully checks whether windows service pgsql-9.2 is running.
I have tried to call that PowerShell script with a shell/bash script within a LINUX machine but have been unsuccessful.
Is there a way of a shell/Perl script to check whether a... (5 Replies)
Discussion started by: simpsa27
5 Replies
LEARN ABOUT CENTOS
lwres_conf_init
LWRES_CONFIG(3) BIND9 LWRES_CONFIG(3)
NAME
lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get - lightweight resolver configuration
SYNOPSIS
#include <lwres/lwres.h>
void lwres_conf_init(lwres_context_t *ctx);
void lwres_conf_clear(lwres_context_t *ctx);
lwres_result_t lwres_conf_parse(lwres_context_t *ctx, const char *filename);
lwres_result_t lwres_conf_print(lwres_context_t *ctx, FILE *fp);
lwres_conf_t * lwres_conf_get(lwres_context_t *ctx);
DESCRIPTION
lwres_conf_init() creates an empty lwres_conf_t structure for lightweight resolver context ctx.
lwres_conf_clear() frees up all the internal memory used by that lwres_conf_t structure in resolver context ctx.
lwres_conf_parse() opens the file filename and parses it to initialise the resolver context ctx's lwres_conf_t structure.
lwres_conf_print() prints the lwres_conf_t structure for resolver context ctx to the FILE fp.
RETURN VALUES
lwres_conf_parse() returns LWRES_R_SUCCESS if it successfully read and parsed filename. It returns LWRES_R_FAILURE if filename could not be
opened or contained incorrect resolver statements.
lwres_conf_print() returns LWRES_R_SUCCESS unless an error occurred when converting the network addresses to a numeric host address string.
If this happens, the function returns LWRES_R_FAILURE.
SEE ALSO
stdio(3), resolver(5).
FILES
/etc/resolv.conf
COPYRIGHT
Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2000, 2001 Internet Software Consortium.
BIND9 Jun 30, 2000 LWRES_CONFIG(3)