I have a server in a DMZ where I do not have DNS entries so dnsproxy is what I want to use here is what I did the situation looks similar to this bug https://bugs.launchpad.net/ubuntu/+source/dnsproxy/+bug/567008 but the fix I used did not helped me.
tapas@tapas:~# aptitude install pdnsd Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following NEW packages will be installed: pdnsd resolvconf{a} The following partially installed packages will be configured: dnsproxy 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 354kB of archives. After unpacking 1,020kB will be used. Do you want to continue? [Y/n/?] Y Writing extended state information... Done Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe pdnsd 1.2.7-par-1.1 [298kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/universe resolvconf 1.45ubuntu1 [56.4kB] Fetched 354kB in 1s (254kB/s) Preconfiguring packages ... Selecting previously deselected package pdnsd. (Reading database ... 50988 files and directories currently installed.) Unpacking pdnsd (from .../pdnsd_1.2.7-par-1.1_amd64.deb) ... Selecting previously deselected package resolvconf. Unpacking resolvconf (from .../resolvconf_1.45ubuntu1_all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up dnsproxy (1.15-6build1) ... * Starting dnsproxy dnsproxy /usr/sbin/dnsproxy: symbol lookup error: /usr/sbin/dnsproxy: undefined symbol: event_sigcb [fail] invoke-rc.d: initscript dnsproxy, action "start" failed. dpkg: error processing dnsproxy (--configure): subprocess installed post-installation script returned error exit status 1 Setting up pdnsd (1.2.7-par-1.1) ... * Not starting pdnsd (disabled in /etc/default/pdnsd) Setting up resolvconf (1.45ubuntu1) ... mkdir: created directory `/var/run/resolvconf' mkdir: created directory `/var/run/resolvconf/interface' update-rc.d: warning: resolvconf stop runlevel arguments (none) do not match LSB Default-Stop values (0 6) Errors were encountered while processing: dnsproxy E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up dnsproxy (1.15-6build1) ... * Starting dnsproxy dnsproxy /usr/sbin/dnsproxy: symbol lookup error: /usr/sbin/dnsproxy: undefined symbol: event_sigcb [fail] invoke-rc.d: initscript dnsproxy, action "start" failed. dpkg: error processing dnsproxy (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: dnsproxy Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Tried to follow http://ubuntuforums.org/showthread.php?t=82293 got following error /etc/init.d/pdnsd restart * Stopping pdnsd [ OK ] * Not starting pdnsd (disabled in /etc/default/pdnsd) dpkg -s dnsproxy Package: dnsproxy Status: install ok half-configured Priority: optional Section: net Installed-Size: 128 Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Architecture: amd64 Version: 1.15-6build1 Depends: libc6 (>= 2.4), libevent-1.4-2 (>= 1.4.11-stable), adduser, lsb-base Conffiles: /etc/dnsproxy.conf bb35257420128d7467aa5c607567fbb4 /etc/default/dnsproxy 84b67faac53ebe6ce3ce376e2bae94f2 /etc/init.d/dnsproxy 3f6547b5d88fc6fb2a46afb94ed84f42 Description: proxy for DNS queries dnsproxy forwards DNS queries to two previously configured nameservers: one for authoritative queries and another for recursive queries. The received answers are sent back to the client unchanged. No local caching is done. . Primary motivation for this project was the need to replace Bind servers with djbdns in an ISP environment. These servers get recursive queries from customers and authoritative queries from outside at the same IP address. Now it is possible to run dnscache and tinydns on the same machine with queries dispatched by dnsproxy. . Another possible scenario is a firewall where proxy queries should be forwarded to the real server in a DMZ. Original-Maintainer: Patrick Schoenfeld <schoenf...@debian.org> Homepage: http://wolfermann.org/dnsproxy.html dpkg --configure dnsproxy Setting up dnsproxy (1.15-6build1) ... * Starting dnsproxy dnsproxy /usr/sbin/dnsproxy: symbol lookup error: /usr/sbin/dnsproxy: undefined symbol: event_sigcb [fail] invoke-rc.d: initscript dnsproxy, action "start" failed. dpkg: error processing dnsproxy (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: dnsproxy I checked there was a bug https://bugs.launchpad.net/ubuntu/+source/dnsproxy/+bug/634880 The fix was mentioned here https://bugs.launchpad.net/ubuntu/+source/dnsproxy/+bug/567008 So it was manually downloaded wget http://debian.nctu.edu.tw/ubuntu//pool/universe/d/dnsproxy/dnsproxy_1.16-0.1_amd64.deb but when I install these again then I get the same problem again. -- http://mightydreams.blogspot.com -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam