[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

delay in connections



When I try to connect from other machine to my taroon AS instaled machine there is a few seconds of delay,the same when I try of connect from my taroon machine to outside,I installed caching-nameserver for test but results are the same.dns resolution is ok,only a few miliseconds.

I have these delays when try ssh connections,mail connections,web browsing...etc.

Josep



[root mail packages]# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 194.224.52.6
nameserver 194.224.52.4

root mail packages]# cat /etc/nsswitch.conf       
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#       nisplus or nis+         Use NIS+ (NIS version 3)
#       nis or yp               Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       db                      Use the local database (.db) files
#       compat                  Use NIS on compat mode
#       hesiod                  Use Hesiod for user lookups
#       [NOTFOUND=return]       Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files
shadow:     files
group:      files

#hosts:     db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   files

publickey:  nisplus

automount:  files
aliases:    files nisplus





DNS resolutions are solved in a few MS,
[root mail packages]# dig ns www.terra.es

; <<>> DiG 9.2.2 <<>> ns www.terra.es
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51498
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.terra.es.                  IN      NS

;; AUTHORITY SECTION:
terra.es.               10800   IN      SOA     dns1.terra.es. dnsadmin.corp.terra.es. 2003072400 28800 7200 2592000 172800

;; Query time: 443 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Aug  2 15:09:43 2003
;; MSG SIZE  rcvd: 85

[root mail packages]# dig ns www.terra.es

; <<>> DiG 9.2.2 <<>> ns www.terra.es
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32868
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.terra.es.                  IN      NS

;; AUTHORITY SECTION:
terra.es.               10792   IN      SOA     dns1.terra.es. dnsadmin.corp.terra.es. 2003072400 28800 7200 2592000 172800

;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Aug  2 15:09:51 2003
;; MSG SIZE  rcvd: 85





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]