When I ping any Host from the server itself its replaying me the IP of that hosts that's mean DNS is working fain
but when I try to ftp or telnet any IP it's taking long time to access that target IP
ftp 172.18.2.1 when I press enter its hang and taking long time then will ask me the user name and Password of the ftp login
when I disable the /etc/netsvc.conf
ftp or tlenet to any another IP will go festally without any hang !
In "/etc/netsvc.conf" you specify the precedence in which the various possible sources for name resolution are being used. The entries after "hosts=" are used in the order they appear in this list. What you see as "hang" is probably the source queried first not knowing about the host. This source will have to time out before the next source in the list is queried.
That means: suppose you want to resolve the name of some host "host.at.your.domain" and the content of your "/etc/netsvc.conf" is
Code:
hosts=local,bind
which would mean the system looks in its "/etc/hosts" file (=local) first and only if this fails will query the DNS server (bind). If "/etc/hosts" doesn't hold an entry about "host.at.your.domain" it will look up this, wait for the timeout, only then ask the name server.
Have a look at your "/etc/netsvc.conf" file and determine which source of information has precedence. Then investigate if this source is able to answer the query for a certain IP address.
As the same server was in another building and was configured with different DNS and it was working fine
telnet and FTP was working festally
but after moved this server to another building with different DNS we got this issue and it's taking long time to access any trying to access another IP by FTP or telnet
is there any some one can assist in this regard .. !
# @(#)43 1.1 src/tcpip/etc/netsvc.conf, tcpip, tcpip530 4/3/02 22:12:29
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# tcpip530 src/tcpip/etc/netsvc.conf 1.1
#
# Licensed Materials - Property of IBM
#
# Restricted Materials of IBM
#
# (C) COPYRIGHT International Business Machines Corp. 2002
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
# The /etc/netsvc.conf file is used to specify the ordering of name resolution for
# gethostbyname, gethostbyname2, gethostbyaddr routines
# and alias resolution for the sendmail command.
# Any host setting defined in /etc/netsvc.conf file will override the default host order
# and the host setting given in the /etc/irs.conf file.
# The environment variable NSORDER overrides the host settings in the /etc/netsvc.conf file,
# which in turn overrides the host settings in the /etc/irs.conf file.
#
# To specify the host ordering, enter the following:
# hosts = value [, value]
#
# Use one or more of the following values for the hosts keyword:
# auth Designates the specified server as authoritative. A resolver does not continue searching
# for host names further than an authoritative server. For example,
# when two services are given as values for the host keyword and the first service
# is made authoritative, and if the resolver cannot find the host name in the
# authoritative service, then the resolver terminates its search. However,
# the auth option has no effect if the resolver is unable to contact
# the authoritative server; in this case, the resolver continues to search the next
# service given in the same entry.
# Indicate that the specified service is authoritative by following it by an = and then auth.
# The auth option is only valid when used in conjunction with a service value for the hosts keyword.
#
# bind Uses BIND/DNS services for resolving names
# local Searches the local /etc/hosts file for resolving names
# nis Uses NIS services for resolving names. NIS must be running if you specify this option
# nis+ Uses NIS plus services for resolving names. NIS plus must be running if you specify this option
# ldap Uses LDAP services for resolving names
# ldap_nis Uses LDAP NIS services for resolving names
# bind4 Uses BIND/DNS services for resolving only IPv4 addresses
# bind6 Uses BIND/DNS services for resolving only IPv6 addresses
# local4 Searches the local /etc/hosts file for resolving only IPv4 addresses
# local6 Searches the local /etc/hosts file for resolving only IPv6 addresses
# nis4 Uses NIS services for resolving only IPv4 addresses
# nis6 Uses NIS services for resolving only IPv6 addresses
# nis+4 Uses NIS plus services for resolving only IPv4 addresses
# nis+6 Uses NIS plus services for resolving only IPv6 addresses
# ldap4 Uses LDAP services for resolving only IPv4 addresses
# ldap6 Uses LDAP services for resolving only IPv6 addresses
# ldap_nis4 Uses NIS LDAP services for resolving only IPv4 addresses
# ldap_nis6 Uses NIS LDAP services for resolving only IPv6 addresses
#
# Any value a user specified other than the ones above, is considered as a user option.
# The user option format is: <key>[none|4|6], where<key> is the name of the dynamic loadable module
# that is going to reside under /usr/lib/netsvc/dynload/ directory.
# The length of the <key> can be between 1 to 8 characters.
# Following the <key> can be nothing, 4, or 6 which represents the address family.
#
# If we configure a user option as "dave4", then there should be a dynamic loadable module
# "dave.so" under /usr/lib/netsvc/dynload/ directory.
# "dave4" user option tells the resolver to use /usr/lib/netsvc/dynload/dave.so dynamic loadable module
# to do the name resolution and resolve only IPv4 addresses.
#
# Example:
# hosts = nis=auth, bind6, dave4
#
# The sendmail command searches the local /etc/aliases file, or uses NIS if specified for
# resolving aliases. You can override the default by specifying how to resolve aliases
# in the /etc/netsvc.conf file.
# To specify alias ordering to the sendmail command, enter the following:
# alias = value [, value]
#
# Use one or more of the following values for the alias keyword:
# files Searches the local /etc/aliases file for the alias
# nis Uses NIS services for resolving alias
# Example:
# aliases = nis, files
hosts=local,bind
Last edited by Scott; 07-01-2010 at 06:08 PM..
Reason: Code tags, please...
Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here.
server: sbkovwadmd01
sbkovwadmd01# chnfsdom
Current local domain: edw.dev
sbkovwadmd01# lssrc -a | grep nfs | grep active
nfsd ... (3 Replies)
Hello All,
I want to install ORACLE RAC on AIX 6.1.
In the installation guide. the below two points were mentioned:
Each node must have at least two network adapters or network interface cards
(NICs): one for the public network interface, and one for the private network
interface (the... (2 Replies)
i am planning to configure the DNS server with restricted environment by chroot. Can anybody help me that what are all the filesets required to configure DNS with Chroot for aix 5.3 os. And also i need to run the bind with non root user. How can i configure that. I tried googling and... (1 Reply)
hello all,
I'm newbie on AIX. Can any one tell why this happen ? I have expectation this error came because paging memory.
This is my error : ( I cann;t read this log and need your help)
---------------------------------------------------------------------------
LABEL: ... (7 Replies)
On AIX platform we are having Weblogic 8.1 as the middleware for an application.
The application is deployed in Weblogic on AIX platform and the server is having 2 dedicated listening ports for any incoming requests.
Output for netstat -an command for the port 30001 is as follows:-
tcp4... (7 Replies)
Hi Guys,
Just wondering if I have a child process which is basically hanging and I can see that is on sleep or wait mode if I want to remove/terminate this process , the signal has to come from its parent I assume. The reason I'm asking this is because I'm facing a db2 hang situation and we... (3 Replies)
Hello there!
I have a RS-6000 7043-140 machine with AIX version 4.1.5, that is
working for almost 8 years now. It has a tty monitor. My problem
started when I upgraded my machine to install a gxt250 graphics adapter
card together with a 15" AOC VGA Monitor, logitech keyboard and mouse, ... (2 Replies)