Re: [Pdns-users] [Help] - PDNS stop suddenly after every night

2012-03-29 Thread Peter van Dijk
Hello Vinh Ho,

On Mar 29, 2012, at 4:52 , Đức Vinh Hồ wrote:

 I successfully install  using PDNS. That's good for me
 But i face to stupid problem that after 5-8hours working, PDNS suddenly stop 
 working. And i have to start PDNS manually. 
 And the loop continued, after 5-8 hour, it stop working again. What's wrong 
 with that ?
 Any idea to solve that ?
 
 p/s : i compile pdns from source and i start/stop pdns by using :
 # killall pdns_server
 #/usr/local/pdns/sbin/pdns_server 
 
 and i add the command /usr/local/pdns/sbin/pdns_server  to rc.local as well

Can you check your syslog files (in /var/log) for anything before or around the 
time that PDNS stops working?

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] [Help] - PDNS stop suddenly after every night

2012-03-29 Thread Chris Russell
HI Vinh,

  Is this the authoritative or recursive server ?  if its authoritative which 
backends are you using and which version ?

Thanks

Chris




From: pdns-users-boun...@mailman.powerdns.com 
[mailto:pdns-users-boun...@mailman.powerdns.com] On Behalf Of Ð?c Vinh H?
Sent: 29 March 2012 03:52
To: pdns-users@mailman.powerdns.com
Subject: [Pdns-users] [Help] - PDNS stop suddenly after every night

Hi all,
I successfully install  using PDNS. That's good for me
But i face to stupid problem that after 5-8hours working, PDNS suddenly stop 
working. And i have to start PDNS manually.
And the loop continued, after 5-8 hour, it stop working again. What's wrong 
with that ?
Any idea to solve that ?

p/s : i compile pdns from source and i start/stop pdns by using :
# killall pdns_server
#/usr/local/pdns/sbin/pdns_server 

and i add the command /usr/local/pdns/sbin/pdns_server  to rc.local as well

Regarding,
Vinh Ho


Knowledge I.T.
‘Unifying Business Technology’
www.knowledgeit.co.uk


Knowledge Limited, Company Registration: 1554385
Registered Office: New Century House, Crowther Road, Washington, Tyne  Wear. 
NE38 0AQ
Leeds Office: Viscount Court, Leeds Road, Rothwell, Leeds. LS26 0GR

Tel: 0845 142 0020. Fax: 0845 142 0021

E-Mail Disclaimer: This e-mail message is intended to be received only by 
persons entitled to receive the confidential information it may contain. E-mail 
messages to clients of Knowledge IT may contain information that is 
confidential and legally privileged. Please do not read, copy, forward, or 
store this message unless you are an intended recipient of it. If you have 
received this message in error, please forward it to the sender and delete it 
completely from your computer system.

Please consider the environment before printing this email.
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Authrotative and recursive on same ip creates an open recursive server

2012-03-29 Thread Michael Loftis
The recursor only ever talks to the authoritative ersolver in this
scneario so the authoritative resolver needs further configuration to
properly restrict who is being allowed to use it recursively.
recursor.conf only affects the recursor itself.  You need to set, in
pdns.conf, allow-recursion to restrict appropriately.

Also, its usually not a good idea to have your recursors and
authoritative nameservers on the same IPs, the authoritative should
really just be serving authoritative data and never recursing.  This
helps prevent accidental (and malicious) cache poisoning of your
authoritative nameserver.

On Thu, Mar 29, 2012 at 2:27 PM, Miguel Miranda
miguel.miran...@gmail.com wrote:
 Hello to all, im migrating several of my dns server from bind to powerdns, i
 was trying the recursor only and it restricted who can use my server to the
 nets listed in allow-from-file, when i configure the authoritative and
 recursor using the recursor= 127.0.0.1, everybody can use my server for
 recursion, am i missing something or bypassing allow-from-file is the normal
 operation in this scenario?
 regards

 ___
 Pdns-users mailing list
 Pdns-users@mailman.powerdns.com
 http://mailman.powerdns.com/mailman/listinfo/pdns-users




-- 

Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds.
-- Samuel Butler
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Pdns-users Digest, Vol 110, Issue 19

2012-03-29 Thread Đức Vinh Hồ
hi all,
First, thanks for your help, I use PDNS Authorize and i use gmysql backend.
I think when i finish my work day  come back home. There are no more query
from pdns to mysql, and mysql timeout is the cause of that problem. But
after i increase mysql time out. This problem still happen :

interactive_timeout = 259200
wait_timeout = 259200
connect_timeout = 259200

here is the log :

*Mar 29 14:41:24 slv21 pdns[25327]: gmysql Connection failed: Unable to
connect to database: Access denied for user 'power_admin'@'127.0.0.1'
(using password: YES)
Mar 29 14:41:24 slv21 pdns[25327]: Caught an exception instantiating a
backend, cleaning up
Mar 29 14:41:24 slv21 pdns[25327]: TCP server is unable to launch backends
- will try again when questions come in: Unable to launch gmysql
connection: Unable to connect to database: Access denied for user
'power_admin'@'127.0.0.1' (using password: YES)*


Any idea ?
Thanks you,
Vinh Ho


2012/3/29 pdns-users-requ...@mailman.powerdns.com

 Send Pdns-users mailing list submissions to
pdns-users@mailman.powerdns.com

 To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.powerdns.com/mailman/listinfo/pdns-users
 or, via email, send a message with subject or body 'help' to
pdns-users-requ...@mailman.powerdns.com

 You can reach the person managing the list at
pdns-users-ow...@mailman.powerdns.com

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Pdns-users digest...


 Today's Topics:

   1. [Help] - PDNS stop suddenly after every night (??c Vinh H?)
   2. Re: [Help] - PDNS stop suddenly after every night (Peter van Dijk)
   3. Re: [Help] - PDNS stop suddenly after every night (Chris Russell)


 --

 Message: 1
 Date: Thu, 29 Mar 2012 09:52:10 +0700
 From: ??c Vinh H? vinh.ho2...@gmail.com
 Subject: [Pdns-users] [Help] - PDNS stop suddenly after every night
 To: pdns-users@mailman.powerdns.com
 Message-ID:
CAHd=_-pzwup9qmo2h3cbwcfeyrs4d9uibjkmykc-ocrs01p...@mail.gmail.com
 
 Content-Type: text/plain; charset=iso-8859-1

 Hi all,
 I successfully install  using PDNS. That's good for me
 But i face to stupid problem that after 5-8hours working, PDNS suddenly
 stop working. And i have to start PDNS manually.
 And the loop continued, after 5-8 hour, it stop working again. What's wrong
 with that ?
 Any idea to solve that ?

 p/s : i compile pdns from source and i start/stop pdns by using :
 # killall pdns_server
 #/usr/local/pdns/sbin/pdns_server 

 and i add the command */usr/local/pdns/sbin/pdns_server * to rc.local as
 well

 Regarding,
 Vinh Ho
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://mailman.powerdns.com/pipermail/pdns-users/attachments/20120329/88023b66/attachment.html
 

 --

 Message: 2
 Date: Thu, 29 Mar 2012 08:18:46 +0200
 From: Peter van Dijk peter.van.d...@netherlabs.nl
 Subject: Re: [Pdns-users] [Help] - PDNS stop suddenly after every
night
 To: pdns-users Users pdns-users@mailman.powerdns.com
 Message-ID: 193997e3-a5e9-47dd-83cc-f958aefd7...@netherlabs.nl
 Content-Type: text/plain; charset=utf-8

 Hello Vinh Ho,

 On Mar 29, 2012, at 4:52 , ??c Vinh H? wrote:

  I successfully install  using PDNS. That's good for me
  But i face to stupid problem that after 5-8hours working, PDNS suddenly
 stop working. And i have to start PDNS manually.
  And the loop continued, after 5-8 hour, it stop working again. What's
 wrong with that ?
  Any idea to solve that ?
 
  p/s : i compile pdns from source and i start/stop pdns by using :
  # killall pdns_server
  #/usr/local/pdns/sbin/pdns_server 
 
  and i add the command /usr/local/pdns/sbin/pdns_server  to rc.local
 as well

 Can you check your syslog files (in /var/log) for anything before or
 around the time that PDNS stops working?

 Kind regards,
 --
 Peter van Dijk
 Netherlabs Computer Consulting BV - http://www.netherlabs.nl/



 --

 Message: 3
 Date: Thu, 29 Mar 2012 10:18:38 +0100
 From: Chris Russell chris.russ...@knowledgeit.co.uk
 Subject: Re: [Pdns-users] [Help] - PDNS stop suddenly after every
night
 To: pdns-users@mailman.powerdns.com
pdns-users@mailman.powerdns.com
 Message-ID:

 1e130dca55d169479976824aa6d4db332a05fd4...@uknewk0999sv007.knowledgeit.co.uk
 

 Content-Type: text/plain; charset=utf-8

 HI Vinh,

  Is this the authoritative or recursive server ?  if its authoritative
 which backends are you using and which version ?

 Thanks

 Chris




 From: pdns-users-boun...@mailman.powerdns.com [mailto:
 pdns-users-boun...@mailman.powerdns.com] On Behalf Of ??c Vinh H?
 Sent: 29 March 2012 03:52
 To: pdns-users@mailman.powerdns.com
 Subject: [Pdns-users] [Help] - PDNS stop suddenly after every night

 Hi all,
 I successfully install  using PDNS. That's good for me
 But i face to stupid problem that after 5

Re: [Pdns-users] Pdns-users Digest, Vol 110, Issue 19

2012-03-29 Thread shthead
On 30/03/2012 9:20 AM, Đức Vinh Hồ wrote:
 /Mar 29 14:41:24 slv21 pdns[25327]: gmysql Connection failed:
 Unable to connect to database: Access denied for user
 'power_admin'@'127.0.0.1' (using password: YES)

If you read the log it tells you the exact reason for the failure -
the mySQL login details are not valid. Fix that and it should work.
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users