- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Initial connection slow since adding dns
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 11:01 PM
09-01-2004 11:01 PM
Initial connection slow since adding dns
I've recently had to add one of my servers to a domain and start using the company dns servers.
I've noticed that when i connection to the ip addess of my server the initial connection seems slower.
Other people have complained of timeouts when connecting to the ip as well.
The Network is fine, no errors on nic or on the switch.
This just seems to have happened since i started using dns, but if i'm connecting to the ip address why should that make a difference?
Ta
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 11:06 PM
09-01-2004 11:06 PM
Re: Initial connection slow since adding dns
How is your /etc/nsswitch.conf set up? It should be:
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] nis
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 11:07 PM
09-01-2004 11:07 PM
Re: Initial connection slow since adding dns
hosts: files [NOTFOUND=continue] dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 11:23 PM
09-01-2004 11:23 PM
Re: Initial connection slow since adding dns
Based upon the setting only it is getting resolved.
You can verify them with nslookup and nsquery commands
Some discussion here to calculate timings as,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=684203
We will meet after your hosts: entry on nsswitch.conf file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 11:25 PM
09-01-2004 11:25 PM
Re: Initial connection slow since adding dns
Is the response Ok, if you try connecting to ip_address instead of hostname???
You may want to have a look at the man page of resolver. You may also add retrans and retry options to resolv.conf.
The /etc/nsswitch.conf looks OK.
Anything on DNS server to denote that the address resolution for your server's ip address is taking time??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 11:40 PM
09-01-2004 11:40 PM
Re: Initial connection slow since adding dns
nslookup if fine, it is just the initial connection to the server itself is slow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 12:17 AM
09-02-2004 12:17 AM
Re: Initial connection slow since adding dns
This is a common cause of slow logins.
If you do a who -u then nsquery hosts [some-IP] you will be able to time how long it takes, as long as verifying the lookup method.
The fact that the users may connect to the server's IP and not the name makes no difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 01:33 AM
09-02-2004 01:33 AM
Re: Initial connection slow since adding dns
hosts: files [NOTFOUND=continue] dns
say's
If resolvation of host is not in files then continue to dns
Why can you use as,
hosts: files dns
And more,
IS your hostname of login on /etc/hosts or in dns server.
If it is on dns then use as,
hosts: dns files
And try to check resolvation of entry now as,
nsquery hosts hostname "dns"
IS it resolving on first nameserver / next or third one?
But "Initial connection slow since adding dns" makes only first time connection.
May be login service time problem too..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 02:07 AM
09-02-2004 02:07 AM
Re: Initial connection slow since adding dns
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 02:41 AM
09-02-2004 02:41 AM
Re: Initial connection slow since adding dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 02:50 AM
09-02-2004 02:50 AM
Re: Initial connection slow since adding dns
This gives rules to DNS on how to behave. I bet if you looked at your DNS servers that they are trying to resolve names to the internet root servers before they append your domain name to the pc/ws name, which is why it's important to have a correctly configured resolv.conf file.
Also, what version of bind are you running?
run: what /usr/sbin/named
run: ps -ef | grep named
Do you have a file called /etc/named.conf?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 03:09 AM
09-02-2004 03:09 AM
Re: Initial connection slow since adding dns
search unix.eu.primus eu.primus
nameserver *.*.29.39
nameserver *.*.29.38
nameserver *.*.29.37
nameserver *.*.100.10
named 8.1.2
root 13318 2047 1 16:04:24 pts/td 0:00 grep named
There is no named.conf
Just realised sendmail is whinging about the mail relay server -host unknown
Arrgh!