DNS is hang in AIX 6.1


 
Thread Tools Search this Thread
Operating Systems AIX DNS is hang in AIX 6.1
# 1  
Old 06-21-2010
DNS is hang in AIX 6.1

Guy's

I have configured DNS like the below but I faced another issue !

nameserver 172.18.14.7
nameserver 172.18.14.8
domain domain.com

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 !

Why is taking this long time ???

Last edited by Mr.AIX; 06-21-2010 at 01:07 PM..
# 2  
Old 06-21-2010
have you verified you're routing tables on both source and destination sides?

regards
# 3  
Old 06-21-2010
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.

I hope this helps.

bakunin
# 4  
Old 06-28-2010
I'm sure this is not related to /etc/netsvc.conf

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 .. !
# 5  
Old 06-28-2010
Please post your netsvc.conf, I think you already have your answer above but we are going to have to spell it out for you.
# 6  
Old 06-29-2010
This is the default file of netsvc.conf


Code:
# @(#)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...
# 7  
Old 07-01-2010
Post the output of:
Code:
netstat -in
netstat -rn

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 5.3 NFS export not mounting, rpcinfo hang/timeout on server

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)
Discussion started by: eckertd
3 Replies

2. AIX

DNS configuration on AIX 6.1

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)
Discussion started by: beayni33
2 Replies

3. AIX

DNS with chroot in aix 5.3

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)
Discussion started by: kmvinay
1 Replies

4. AIX

Need Help Urgent AIX Hang

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)
Discussion started by: Fandikurnia
7 Replies

5. AIX

DNS in AIX 6.1

Guy's Pls provide me the exact DNS parameter that needs to be defined in resolv.conf Pls assist in this ... (5 Replies)
Discussion started by: Mr.AIX
5 Replies

6. AIX

Port hang issue in AIX Version 5.3

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)
Discussion started by: subharai
7 Replies

7. AIX

How to add DNS entry in AIX 5.3

we have using windows 2003 server as DNS Server, now we want add dns entry in AIX 5.3 server. can any body help (1 Reply)
Discussion started by: Balajipoola007
1 Replies

8. UNIX for Advanced & Expert Users

removing hang processes (AIX)

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)
Discussion started by: hariza
3 Replies

9. AIX

how to up the aix machine when the desktop was hang

Hi all, My AIX machine desktop was hanged. What to do. please help me. It's very urgent. Thank's & regards, Balaraju. (7 Replies)
Discussion started by: balarajum
7 Replies

10. AIX

AIX 4.1.5/RS6000 boot hang, help requested

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)
Discussion started by: bright_genius
2 Replies
Login or Register to Ask a Question