This new ebuild encorportates fixes and enhancements listed in the above URL. This hasn't been fully tested to connect to and ipv6 DNS server however it seems to be sending the write messages. It binds to ipv6 address and handles ipv4 requests at the same time. I've made this ebuild suggest to the user adding a few lines to /etc/ppp/ip-{up|down}. Unfortuately this is overwritten by the default /etc/init.d/net.ppp0 with AUTOCFGFILES = "yes". I suggest something be added to this script to call a /etc/ppp/iplocal-{up|down} (or scripts in /etc/ppp/ip-{up|down}.d directory) if it exists. There are a lot of user customisable things like firewalls, offline fetching, gentoo stats update for example that may wish to be performed upon dialup started. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 11492 [details] adds "-s" status control to the startup. files/pdnsd.rc6 Modification to the init script that allows the proxy dns server to be controlled at runtime throught filesystems socket /var/lib/pdnsd/pdnsd.status
Created attachment 11493 [details] changelog
Created attachment 11494 [details] new ebuild
Created attachment 11495 [details, diff] fixes permission error - init script in ipv6 case Late bug find sorry. 2 lines changed.
Created attachment 11503 [details, diff] another small init script generation fault with ipv6
I'm not convinced this is caching the results to disk. Performing further testing here.
The original author stopped maintaining pdnsd, but Paul Rombouts (see URL) seems to have taken over. Maybe an ebuild for version par5 or par6 should be taken into portage, since it fixes a memory leak.
and theres a note on the website explaining the disc caching fault that I made in comment 6. Yes I've been slack and stopped testing sorry - may get back to it just doing a few other things at the moment.
par8 come out a while ago the caching problem is also mentioned on Roumbouts page. Can't reproduce the problem though...
the caching problem was with an earlier verion of the pars that the attached ebuild uses. The nonpatched version works fine.
Created attachment 19341 [details] pdnsd-1.1.8_p8.ebuild ebuild for for par8
Created attachment 19353 [details, diff] patch against new ebuild opps forgot a semicolon when patching a sample file.
Created attachment 19441 [details, diff] ebuild patch I emailed Paul Rombouts about the using --with-random-device and he has sinced fixed this. The attached ebuild patch makes use of this to improve randomization. I've noticed this ebuild uses all available IUSE flags regardless of what is specified. I think I've done it correct but it doesn't work for me. I've used an "isdn" USE flag. This has not been used before although it could be used in the packages net-dialup/capi4k-utils and possibly some others. Maybe a candidate for /usr/portage/profiles/use.local.desc?
Ok I was doing something silly when I was testing this (using env IUSE=... ebuild....". The USE flags work fine. Can someone from dialup suggest how to make a script that makes this start after the interface is up? Something like /etc/init.d/wwwoffle-online? Should this account for dial-on-demand networks? Should this ebuild add a commented line to /etc/ppp/ip-up.local? I accept the comments at the end of the ebuild probably need to be rewritten but what is the best course of action to take? Paul since your listed here - another URL for your home page - http://packages.gentoo.org/packages/?category=net-dns;name=pdnsd
Is any dev on this email alias?
Err, aren't you a dev mr. dragonheart? :) Lanius, myself, and brandy are mailed via net-dialup@gentoo.org iirc. Feel free to add yourself, I'm only familiar w/ some of the net-dialup packages (this package is not one of them, yet).
Taking ownership. I'll make an init.d script that puts pdnsd into an online mode. Will remove the debug use flag. If this isn't committed within 2 weeks and someone cares - bug me. Any other suggestion just add them here.
pdnsd-1.1.9 commited to cvs. "use isdn" unchecked. ipv6 appeared to be sending the correct messages. I didn't have a ipv6 server running though. Report any bugs to me please and I'll see what I can do.
According to debain: http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=pdnsd This should be able to be supported on alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc platforms