[hipl-users] Re: Using the DNS proxy

  • From: Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Wed, 10 Sep 2008 09:49:49 -0400

Miika Komu wrote:
Robert Moskowitz wrote:
The manual is too vague on the DNS proxy.

I am running on Centos. On the Centos list I was told to gte DJB's source and install that to get daemontools.

I updated the manual a bit. You can run the dnsproxy as a stand-alone application. The djb stuff is optional (to speed up the dnsproxy).

Do you mean the manual is updated on infrahip.hiit.fi or in the hipl--userspace--2.6/doc directory?


If the later, I can't open either the index.html or the HOWTO.xml. I get errors on both.

I have requested Antti to clear the manual on djb installation when he is back at work.

Well if I don't need it to test it, I can wait!

There is the djbdns-1.05 directory but even I am not sure yet what do with it.

Wow! Considering the referenced URL (cr.yp.to/daemontools.html) points to ver 0.76!


But what, in more detail, do I do here. Once I get the tools installed (itself a challenge), what is involved in the DNSproxy script working with, for now, /etc/hosts and /etc/hip/hosts?

The basic way to run it is like this:

sudo dnsproxy

Since I am logged in as root, I tried this without sudo, and got command not found. Located it, kind of, at /usr/local/sbin/dnsproxy.py

I ran that and got errors:

Traceback (most recent call last):
File "/usr/local/sbin/dnsproxy.py, line 10, in ?
import DNS
ImportError: No module named DNS

There are many options for it, but most importantly:

-k option kills existing options
-b starts it on background

If dnsproxy complains about bind(), you have started another dnsproxy already or you running bind or dnsmasq on the host and have to kill the other process.

Dnsproxy currently can handle HITs from hosts files. LSI support and DNS support are work in progress.


Other related posts: