[Pdns-users] pdns_server won't start at reboot on freebsd 6.1

Marko Kobal marko.kobal at email.si
Wed Jun 7 05:25:24 UTC 2006


Hi,

> Please post you pdns.conf and output from 
> 'ls -ld /tmp'
> 'ls -la /tmp/mysql*'.

Huh, don't now if this's gonna help, but anyway:

root# ls -ld /tmp
drwxrwxrwt  9 root  wheel  512  7 jun 03:04 /tmp
root# ls -la /tmp/mysql*
srwxrwxrwx  1 mysql  wheel  0  6 jun 19:15 /tmp/mysql.sock

+++++++++++++++++++++++++++++++++++++++++++++++++++++

#################################
# launch        Which backends to launch and order to query them in
#
# launch=

launch=gmysql
gmysql-socket=/tmp/mysql.sock
#gmysql-host=127.0.0.1
gmysql-user=powerdns
gmysql-password=*****
gmysql-dbname=powerdns

#################################
# lazy-recursion        Only recurse if question cannot be answered locally
#
# lazy-recursion=yes

#################################
# load-modules  Load this module - supply absolute or relative path
#
# load-modules=

#################################
# local-address Local IP address to which we bind
#
# local-address=0.0.0.0
local-address=0.0.0.0
#local-address=127.0.0.1

#################################
# local-ipv6    Local IP address to which we bind
#
# local-ipv6=

#################################
# local-port    The port on which we listen
#
# local-port=53
local-port=53

#################################
# log-dns-details       If PDNS should log failed update requests
#
# log-dns-details=
log-dns-details=yes

#################################
# log-failed-updates    If PDNS should log failed update requests
#
# log-failed-updates=
log-failed-updates=yes

#################################
# logfile       Logfile to use
#
# logfile=pdns.log
#logfile=/var/log/pdns.log

#################################
# logging-facility      Log under a specific facility
#
# logging-facility=
logging-facility=0

#################################
# loglevel      Amount of logging. Higher is more. Do not set below 3
#
loglevel=4
#loglevel=9

#################################
# master        Act as a master
#
# master=no
master=no

#################################
# max-queue-length      Maximum queuelength before considering situation lost
#
# max-queue-length=5000

#################################
# max-tcp-connections   Maximum number of TCP connections
#
# max-tcp-connections=10

#################################
# module-dir    Default directory for modules
#
# module-dir=/usr/local/bin/../lib

#################################
# negquery-cache-ttl    Seconds to store packets in the PacketCache
#
# negquery-cache-ttl=60

#################################
# only-soa      Make sure that no SOA serial is less than this number
#
# only-soa=org

#################################
# out-of-zone-additional-processing     Do out of zone additional processing
#
# out-of-zone-additional-processing=no
out-of-zone-additional-processing=yes

#################################
# query-cache-ttl       Seconds to store packets in the PacketCache
#
# query-cache-ttl=20

#################################
# query-logging Hint backends that queries should be logged
#
query-logging=no
#query-logging=yes

#################################
# queue-limit   Maximum number of milliseconds to queue a query
#
# queue-limit=1500

#################################
# receiver-threads      Number of receiver threads to launch
#
# receiver-threads=1

#################################
# recursive-cache-ttl   Seconds to store packets in the PacketCache
#
# recursive-cache-ttl=10

#################################
# recursor      If recursion is desired, IP address of a recursing nameserver
#
# recursor=no
recursor=127.0.0.1:5300

#################################
# setgid        If set, change group id to this gid for more security
#
# setgid=
setgid=5300

#################################
# setuid        If set, change user id to this uid for more security
#
# setuid=
setuid=5301

#################################
# skip-cname    Do not perform CNAME indirection for each query
#
# skip-cname=no

#################################
# slave Act as a slave
#
# slave=no
slave=yes

#################################
# slave-cycle-interval  Reschedule failed SOA serial checks once every .. seconds
#
# slave-cycle-interval=60

#################################
# smtpredirector        Our smtpredir MX host
#
# smtpredirector=a.misconfigured.powerdns.smtp.server

#################################
# soa-minimum-ttl       Default SOA mininum ttl
#
# soa-minimum-ttl=3600

#################################
# soa-refresh-default   Default SOA refresh
#
# soa-refresh-default=10800

#################################
# soa-retry-default     Default SOA retry
#
# soa-retry-default=3600

#################################
# soa-expire-default    Default SOA expire
#
# soa-expire-default=604800

#################################
# soa-serial-offset     Make sure that no SOA serial is less than this number
#
# soa-serial-offset=0

#################################
# socket-dir    Where the controlsocket will live
#
# socket-dir=/var/run
socket-dir=/var/run

#################################
# strict-rfc-axfrs      Perform strictly rfc compliant axfrs (very slow)
#
# strict-rfc-axfrs=no

#################################
# urlredirector Where we send hosts to that need to be url redirected
#
# urlredirector=127.0.0.1

#################################
# use-logfile   Use a log file
#
#use-logfile=no
use-logfile=yes

#################################
# webserver     Start a webserver for monitoring
#
# webserver=no
webserver=yes

#################################
# webserver-address     IP Address of webserver to listen on
#
# webserver-address=127.0.0.1
webserver-address=0.0.0.0

#################################
# webserver-password    Password required for accessing the webserver
#
# webserver-password=
webserver-password=*****

#################################
# webserver-port        Port of webserver to listen on
#
# webserver-port=8081

#################################
# webserver-print-arguments     If the webserver should print arguments
#
# webserver-print-arguments=no

#################################
# wildcard-url  Process URL and MBOXFW records
#
# wildcard-url=no

#################################
# wildcards     Honor wildcards in the database
#
# wildcards=

+++++++++++++++++++++++++++++++++++++++++++++++++

-- 
Kind regards, Marko Kobal.


More information about the Pdns-users mailing list