SLT ADSL, DNS and DaemontoolsSeptember 22, 2005Many users of SLT ADSL complain about the connections slowing down to a crawl and even timeouts when browsing. I also ran into the same situation and tracked it down to a problem with Sri Lanka Telecom's DNS servers. Two of their servers '203.115.0.1' and '203.115.0.18' sometimes stop responding completely and you cannot even ping them. The solution then is to use an external DNS server. Many of the other ISP in Sri Lanka have forgotten to block ports on the DNS servers and virtually anyone can use their DNS servers. You shouldn't be suprised by this lack of attention to details, quite often you see so called sysadmins from Sri Lankan ISPs/Telecos asking elementary questions in mailing lists. A more sophisticated solution than using a third party DNS server is to set up your own. daemontools obviously would be the first choice. When setting up however, I ran into a small problem.
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
This is apparently a variation of the old errno problem on Fedora/Redhat. Apprently it's changed it's tune for Fedora 4. netqmail has an errno.path for both ucspi and daemontools (it's only one line). Apply it and compile again. Things will go smoothly. It's only after you have installed both daemontools and ucspi that you can install djbdns. The follow the instructions on Prof. DJB's site on How to run a cache on a workstation You will find that DNS queries are slow the first time (upto 1 second) than with your old SLT DNS server (due to the djbdns security model) but subsequent queries are much faster (about 1-5 milliseconds).
|
|



