SLT ADSL, DNS and Daemontools

September 22, 2005

Many 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).


Posted by raditha at September 22, 2005 6:03 AM
Your Ad Here

 

Jabber  |  Linux  |  mySQL  |  PHP  |  Java  |  Site Map  |  Wiki

Downloads  |  About  |  Links  |  Contact  |  Home

 

Copyright © Raditha Dissanayake 2003 - 2007

Terms of Use  |  Privacy

 

 

September 2005
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30