[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

Slow telnet response after installing Bind

Dear all,

I have installed the Bind 9.2 in Redhat/Solaris box, it seems that after installing the Bind, the telentlogin response in between the client and the server (just installed primary domain) are very very slow.

1) I do not want to add the host name in /etc/hosts as I may have many ip address and they are all changeable.

2) I hear that we are play around with the named.conf

Here is the answer from perious people

1. Make sure that your box have correct setup with DNS server daemon program: named(bind 9.0)
2. Add your host name and IP address in file:" /etc/hosts" like:
      192.168.1.1         Myname
3. If you need to run DNS server on your machine, then you'd better add an item to the PTR file. About
details, you can look for DNS configrations on net.
4. If you need not to run the DNS server then just kill DNS daemon service: "killall named", and the
change the resolve file: "/etc/resolv.conf" delete all the nameserver lines.

I may have the answer from point 3

Thanks in advance

0
edmundli
Asked:
edmundli
  • 4
  • 3
1 Solution
 
jlevieCommented:
It sounds like you may not be getting reverse lookups of the the  client IP's. You don't say whether the clients opening the telnet sessions are on the local network or if they are at random Internet addresses. If the clients are part of a local network that the DNS server is responsible for, the you simply need to add the appropriate A and PTR records for those clients. On the other hand, if the clients are at random on the Internet you need to figure out why your DNS server isn't resolving the hostnames from the client IP's. In some cases there won't be a DNS PTR record available and a timeout will occur, but in many cases there should be a record available. A simple check of your DNS server would be to lookup something that will have a PTR record and then see if you can lookup the hostname from that IP, say like:

chaos> host ftp.redhat.com
ftp.redhat.com. has address 216.148.218.201
ftp.redhat.com. has address 63.240.14.63
chaos> host 216.148.218.201
201.218.148.216.in-addr.arpa. domain name pointer ftp.redhat.com.

If you can't duplicate the above using your DNS server, then something isn't configured right.
0
 
edmundliAuthor Commented:
So you mean that they should have PTR record in DNS server in order to speed up the telent login seesion ?

If I have many ip addresses that I may not know, then they will have difficulity to login with acceptable time. ( I will in few seconds rather than 60-90 secs. )

Regards
0
 
jlevieCommented:
If this DNS server is one for a local network, then yes you need A & PTR records for all of the IP's that are in use on the local network. Any clients on the local network that aren't properly listed in the DNS will have problems with any of the IP services that do a reverse lookup of a connecting client's IP. And it's not just telnet that does that. Sendmail, imap, pop, FTP, etc. all will do a reverse lookup.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
edmundliAuthor Commented:
Does it mean that it relate to BIND 9.2 ?

We have other system e.g. sendmail, ftp servers , but it are running fine without having any delay.

Thanks
0
 
jlevieCommented:
There shouldn't be any difference between a Bind 9 and earlier releases with respect to this. Are the sendmail and FTP servers using this DNS server?


Are the clients that are having the problem on your local network?

For one of the clients with the problem, what happens if you do; 'host that-client-ip'? Is there a long delay or an immediate response?

Likewise, from another system that is using this DNS server for name resolution what response do you get if you do; 'host telnet-server-name' or 'nslookup telnet-server-name'? Is that immediate or slow?

Have you checked the syslog messages on the DNS server for any complaints from Bind when it starts or is running? On Linux any errors would be in /var/log/messages.
0
 
edmundliAuthor Commented:
I do not what reason that the response was back to normal,
I do not add any hosts, but have all zone-transfers files from others DNS servers.

Is this the reason ?
0
 
jlevieCommented:
If for some reason there were problems with named accomplishing the zone transfers from other servers there could be problems that could result in DNS timeouts, so yes that could have been the problem. It would depend on what data couldn't be transferred and what data named needed to look up.
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now