mdnsproxy

Intro

mdnsproxy forwards multicast DNS requests to unicast DNS servers specified in /etc/resolv.conf. See my original post on G+ why I wrote this program.

Build

  1. Download mdnsproxy.c
  2. Compile it:
    cc -W -Wall -O3 -s -pipe -o mdnsproxy mdnsproxy.c
    

Help

mdnsproxy $Rev: 237 $ - forwards multicast dns requests to unicast nameservers

usage: mdnsproxy [-d [-d]] [-i <pidfile>] [-u <user>]
       mdnsproxy -h

  -d             run in foreground, don't write pidfile
  -d -d          run in foreground, don't write pidfile, debug log to stderr,
                 don't drop privileges
  -i <pidfile>   write pid to <pidfile> instead of /var/run/mdnsproxy.pid
  -u <user>      run as user <user> instead of uid 65535 and gid 65535
  -h             show this help ;-)

Files