LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-06-2011, 11:42 PM   #1
RudyGomez
LQ Newbie
 
Registered: Nov 2010
Location: South Florida
Posts: 20

Rep: Reputation: 0
Question PowerDNS / PowerAdmin - both installed fine but fail to work as desired


Started with Ubuntu 11.10 with SSH and DNS/bind9 (installed without err)

Then installed powerdns & poweradmin as per http://www.howtoforge.com/installing...on-ubuntu-8.10
(installed and configured without err)

The problem is after adding all the zone information in the MySQL(backend) thru PowerAdmin (verified info in MySQL), the server fails to query the backend, it continues as if powerdns had never been installed. All queries continue outbound to Internet root servers.

I'm almost certain that it is a simple oversight but can't seem to find the checklist that covers troubleshooting each step - all lists only show installation/basic configs.

Any help appreciated - thanks in advance
-Rudy
 
Old 12-07-2011, 12:01 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Maybe dumb question, but why would you install both bind and PDNS since both do the same? If you use PowerDNS then you don't need bind. I'd check if having the two doesn't generate conflicts between one and the other. Or did you configure the same settings for both applications too?

Kind regards,

Eric
 
Old 12-07-2011, 12:08 AM   #3
RudyGomez
LQ Newbie
 
Registered: Nov 2010
Location: South Florida
Posts: 20

Original Poster
Rep: Reputation: 0
Good question...

After many (re)installs, it only seems to work if bind was first installed.

With a clean install (no bind) the PowerDNS/PowerAdmin installed but the DNS service was never alive. PowerDNS was never able to respond on it's own.... Should it have?

Just issued:
/etc/init.d/bind9 stop
/etc/init.d/pdns restart
now netstat -uap shows: *:domain for PID/Program=5528/pdns_server-in
but neither dig nor nslookup return anything
only ";; connection timed out; no servers could be reached;"
-r

Last edited by RudyGomez; 12-07-2011 at 12:15 AM.
 
Old 12-07-2011, 12:18 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Then I'd go over your PDNS configuration, I'm sure you've missed something. I'm one of two system administrators on a global content delivery network and we only use PowerDNS, there's no bind involved whatsoever, and it works like a charm.

Kind regards,

Eric
 
Old 12-07-2011, 12:30 AM   #5
RudyGomez
LQ Newbie
 
Registered: Nov 2010
Location: South Florida
Posts: 20

Original Poster
Rep: Reputation: 0
just removed bind9 and rebooted. No luck

Here is a brief of the /etc/powerdns/pdns.conf (no cut & paste so disregard any typos)
allow-recursion=127.0.0.1
allow-recursion-override=on
chroot=/var/spool/powerdns
config-dir=/etc/powerdns
deamon=yes
disable-axfr=yes
disable-tcp=yes
guardian=yes
launch=gmysql
lazy-recursion=yes
local-address=0.0.0.0
local-port=53
module-dir=/usr/lib/powerdns
setgid=pdns
setuid=pdns
socket-dir=/var/run
webserver=yes
webserver-port=8081
version-string=powerdns
include=/etc/powerdns/pdns.d

-r
 
Old 12-07-2011, 02:19 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Quote:
but neither dig nor nslookup return anything
only ";; connection timed out; no servers could be reached;"
What's in /etc/resolv.conf?
 
Old 12-07-2011, 07:41 AM   #7
RudyGomez
LQ Newbie
 
Registered: Nov 2010
Location: South Florida
Posts: 20

Original Poster
Rep: Reputation: 0
the system is currently down.
But it was untouched, as per installation instructions.
It would only have whatever Ubuntu, DHCP, bind9, or PowerDNS put there.
-r
 
Old 12-07-2011, 08:58 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Well, check next time the server comes up. Could be a non existent nameserver
And you can check with
Code:
dig your.domain.com @127.0.0.1
 
Old 12-07-2011, 09:43 AM   #9
RudyGomez
LQ Newbie
 
Registered: Nov 2010
Location: South Florida
Posts: 20

Original Poster
Rep: Reputation: 0
";; connection timed out; no servers could be reached;"
-r
 
Old 12-07-2011, 11:48 AM   #10
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
If the server is up and running, but "it couldn't be reached", it could be a mysql connectivity problem.
Check the logs under /var/log, to see if you find anything relevant
 
Old 12-07-2011, 03:49 PM   #11
RudyGomez
LQ Newbie
 
Registered: Nov 2010
Location: South Florida
Posts: 20

Original Poster
Rep: Reputation: 0
following same instructions this worked flawlessly on 64bit (failed on 32bit)
will have to do a tandem re-install on both to see when/where/why they differ

thanks for the posts
will post final outcome after tests and then close as solved

but you may consider this "solved" (without exact details) for now...

Have narrowed the problem a lot:
The problem surfaces from plain Ubuntu 11.10 i386 server install and only adding pdns-server.

Have tried:
1. aptitude update & aptitude upgrade
2. fails on AMD and Intel processors
3. dig. works from ISP nameservers, fails from 127.0.0.1 and DHCP obtained IP, even after modifying resolv.conf to match local IP.
4. there is a message that comes up at first boot (hard to see, it goes by so fast) that shows [Fails]. not sure where to look to review that startup log (may be helpful.)
5. tried two different ISO's on 5 different systems, all failed (only the 64bit system work)

Not sure how to continue the search - not really sure if it's even worth it - how many ppl are gonna run pdns on x86?

-R

Last edited by RudyGomez; 12-08-2011 at 11:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PowerDNS (With MySQL Backend) And Poweradmin on CentOS 5.5 vikas027 Linux - Software 3 12-31-2010 09:34 AM
LXer: Installing PowerDNS (With MySQL Backend) And Poweradmin On Fedora 12 LXer Syndicated Linux News 0 06-21-2010 01:50 PM
LXer: Installing PowerDNS (With MySQL Backend) And Poweradmin On Ubuntu 9.10 LXer Syndicated Linux News 0 04-16-2010 10:10 AM
LXer: Installing PowerDNS (With MySQL Backend) And Poweradmin On Fedora 10 LXer Syndicated Linux News 0 02-14-2009 12:02 AM
LXer: Installing PowerDNS (With MySQL Backend) And Poweradmin On Ubuntu 8.10 LXer Syndicated Linux News 0 01-30-2009 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration