No, I can't say what is best. I think the best one is the solution fitting your needs ;-) I'm fine with djbdns as it works for me (I just need the dnscache on this mail server). I never used pdns. Maybe, pdns is a good solution for systems with a high amount of dns querries. But our mail sever is too small to have there a bottleneck, so we go with djbdns ...

Marco Volkert

Am 07.01.2014 06:37, schrieb Linux:

Yes, it work for me,

I used /etc/init.d/djbdns stop and then service pdns-recursor start.

But can you tell me which is the best DNS djbdns or pdns.

*From:*Marco Volkert [mailto:[email protected]]
*Sent:* Monday, January 06, 2014 12:08 PM
*To:* [email protected]
*Subject:* Re: [qmailtoaster] Pdns error: 127.0.0.1: Address already used

Do you get any results for
*grep -l djbdns **
?
I have it running and therefor a file "djbdns" in /etc/rc.d/init.d (Usage: /etc/init.d/djbdns {start|stop|restart|reload|stat|pause|cont|help})

[root@mail]# /etc/init.d/djbdns stat
dnscache: up (pid 3747) 1543697 seconds
dnscache/log: up (pid 3748) 1543697 seconds

Marco Volkert

Am 06.01.2014 04:48, schrieb Linux:

    When I exicute the command *grep -l dnscache * *in */etc/init.d *I
    got nothing.

    *From:*Dan McAllister [mailto:[email protected]]
    *Sent:* Friday, January 03, 2014 8:33 PM
    *To:* [email protected]
    <mailto:[email protected]>
    *Subject:* Re: [qmailtoaster] Pdns error: 127.0.0.1: Address
    already used

    schrieb

    As you can see below (see bolded & font-increased lines in your
    output below), you _ARE _running some kind of DNS service... and,
    as Marco points out, since the process is named "*/dnscache/*" it
    is _highly likely_ that you have installed the DNS Caching Server
    from *DJBDNS*.

    If all you want/need is to run a caching nameserver, it is
    perfectly fine to just keep *DJB *installed -- it is every bit as
    quick as *powerdns *(IMHO - I have no metrics to prove this).

    If you insist on removing it in favor of powerdns, there isn't
    likely to have been a YUM RPM that you used to install it (at
    least none that I'm aware of - it is usually installed manually),
    but it is small -- VERY small -- so just turning it off in your
    startup scripts should suffice.

    *cd /etc/init.d
    grep -l dnscache *
    *<look at result -- one of these scripts is starting the dnscache
    process>
    either remove the script or try something like *chkconfig
    <filename> off*
    Unfortunately, since DJBDNS is usually built and installed
    locally, the exact methods to turn it off can only be guessed at
    from here...

    I hope this helps...

    Dan McAllister
    IT4SOHO

    On 1/3/2014 1:20 AM, Marco Volkert wrote:

        Any chance that "djbdns" is installed?
        
http://wiki.qmailtoaster.com/index.php/CentOS_5_QmailToaster_Install#DNS_Notes
        (section "/Install djbdns (if you don't want bind)/")



        Am 03.01.2014 05:54, schrieb Linux:

            [root@email ~]# netstat -anp | grep 53

            *tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN      2327/dnscache*

            tcp 0 0 192.168.0.200:110 182.72.16.53:49867 TIME_WAIT   -

            tcp 0 14053 192.168.0.200:993 192.168.0.1:49447
            ESTABLISHED 18706/imap-login

            tcp 0 200 ::ffff:192.168.0.200:22
            ::ffff:115.111.32.170:53548 ESTABLISHED 18850/1

            *udp 0 0 127.0.0.1:53 0.0.0.0:* 2327/dnscache*

            udp 0 0 0.0.0.0:5353 0.0.0.0:* 2878/avahi-daemon:

            udp 0 0 :::5353  :::* 2878/avahi-daemon:

            unix 2 [ ACC ] STREAM     LISTENING 6653 2209/acpid
            /var/run/acpid.socket

            unix 3 [ ] STREAM     CONNECTED     516753 18707/imap-login

            unix 3 [ ]   STREAM     CONNECTED 507529 17053/imap

            unix 3 [ ] STREAM     CONNECTED     499453 2790/anvil
            /var/run/dovecot/anvil

            unix 3 [ ] STREAM     CONNECTED 6539   2123/dbus-daemon
            /var/run/dbus/system_bus_socket

            unix 3 [ ] STREAM     CONNECTED 6538   2132/hcid





--
    IT4SOHO, LLC

    33 - 4th Street N, Suite 211

    St. Petersburg, FL 33701-3806

    CALL TOLL FREE:

       877-IT4SOHO

    877-484-7646 Phone

    727-647-7646 Local

    727-490-4394 Fax

    We have support plans for QMail!


Reply via email to