dnscache

1146964879000 » Tagged as: broadband

I had an installation of a caching name server on my computer but it disappeared sometime ago. I can't remember the exact reason might have been a hard disk crash. Here I am doing another installation, cause SLT DNS is hopeless.

Before installing dnscache, you have to install daemontools and before you do that you have to install ucspi-tcp. That invariably results in the following error on FC5 unless you apply the patch given in netqmail. (Note: there are other sources for the same patch).

/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in tcpserver.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status

daemontools will also give a similar error, and that too can be solved by using the netqmail patch.

/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

Once you have installed daemontools you need to make sure that the inittab file has the following line:

SV:123456:respawn:/command/svscanboot

Then execute the init q command to cause init to rescan the inittab file. Then follow the steps next few steps in the DNS Cache installation guide.

comments powered by Disqus