tor-android/jni/pdnsd/contrib
Nathan Freitas f1fcec3d45 add support for PDNSD DNS Daemon for VPN DNS resolution
Tor's DNS port doesn't work well with the VPN mode, so we
will use PDSND to resolve DNS over Tor using OpenDNS. This is
a hack/solution that we learned from SocksDroid.
2016-01-04 01:38:36 -05:00
..
Makefile.am add support for PDNSD DNS Daemon for VPN DNS resolution 2016-01-04 01:38:36 -05:00
Makefile.in add support for PDNSD DNS Daemon for VPN DNS resolution 2016-01-04 01:38:36 -05:00
README add support for PDNSD DNS Daemon for VPN DNS resolution 2016-01-04 01:38:36 -05:00
change_pdnsd_server_ip.pl add support for PDNSD DNS Daemon for VPN DNS resolution 2016-01-04 01:38:36 -05:00
dhcp2pdnsd add support for PDNSD DNS Daemon for VPN DNS resolution 2016-01-04 01:38:36 -05:00
pdnsd_dhcp.pl add support for PDNSD DNS Daemon for VPN DNS resolution 2016-01-04 01:38:36 -05:00

README

Last revised: 27 July 2003 by Paul Rombouts

This directory contains user-contributed scripts for use with pdnsd.
So far there are:

pdnsd_dhcp.pl, save_ram.pl
	A perl script contributed by Marko Stolle (derived from a script by
	Mike Stella) to watch a ISC DHCPD leases file and add local records for
	the hosts listed there. This makes pdnsd useable in a DHCP setup.
	Please look into the script for usage instructions (you will probably
	also need to customize some settings there).
	For details about save_ram.pl, please look into pdnsd_dhcp.pl

dhcp2pdnsd
	A rc script for pdnsd, also by Marko Stolle. You might need to change
	it slightly to make it run with your distro.

change_pdnsd_server_ip.pl
	A perl script contributed by Paul Rombouts for automatically updating
	the configuration file if the DNS server configuration has changed.
	For instance, you could place the following line in the script
	/sbin/ifup-local

	/usr/local/sbin/change_pdnsd_server_ip.pl isplabel "$DNS" /etc/pdnsd.conf

	where $DNS contains the IP addresses (in comma separated format) of the
	DNS servers obtained by DHCP negotiation. The perl script only
	overwrites /etc/pdnsd.conf if the DNS configuration has actually
	changed, in which case the previous configuration file is saved as
	/etc/pdnsd.conf.save