README 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. Last revised: 27 July 2003 by Paul Rombouts
  2. This directory contains user-contributed scripts for use with pdnsd.
  3. So far there are:
  4. pdnsd_dhcp.pl, save_ram.pl
  5. A perl script contributed by Marko Stolle (derived from a script by
  6. Mike Stella) to watch a ISC DHCPD leases file and add local records for
  7. the hosts listed there. This makes pdnsd useable in a DHCP setup.
  8. Please look into the script for usage instructions (you will probably
  9. also need to customize some settings there).
  10. For details about save_ram.pl, please look into pdnsd_dhcp.pl
  11. dhcp2pdnsd
  12. A rc script for pdnsd, also by Marko Stolle. You might need to change
  13. it slightly to make it run with your distro.
  14. change_pdnsd_server_ip.pl
  15. A perl script contributed by Paul Rombouts for automatically updating
  16. the configuration file if the DNS server configuration has changed.
  17. For instance, you could place the following line in the script
  18. /sbin/ifup-local
  19. /usr/local/sbin/change_pdnsd_server_ip.pl isplabel "$DNS" /etc/pdnsd.conf
  20. where $DNS contains the IP addresses (in comma separated format) of the
  21. DNS servers obtained by DHCP negotiation. The perl script only
  22. overwrites /etc/pdnsd.conf if the DNS configuration has actually
  23. changed, in which case the previous configuration file is saved as
  24. /etc/pdnsd.conf.save