[hipl-users] Re: Using the DNS proxy

  • From: Miika Komu <miika.komu@xxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Wed, 10 Sep 2008 16:16:15 +0300

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

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

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

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

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: