[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pdns-users
Subject:    [Pdns-users] pdns mysql backend on Ubuntu server 14.04
From:       "Palm Internet" <admin () palmsecure ! biz>
Date:       2016-12-11 10:45:56
Message-ID: 002d01d2539b$c0b920c0$422b6240$ () palmsecure ! biz
[Download RAW message or body]

This is a multipart message in MIME format.

[Attachment #2 (multipart/alternative)]
This is a multipart message in MIME format.


Hi Guys

I am having major issues getting PDNS-server with mysql backend to run on
Ubuntu server 16.04 <tel:16.04> 

I am using a 64 bit op system 

Installing is fine and I can get the server to run. However it keeps failing
to answer queries

Using gmysql and connecting to the database on a separate server or even
having the database on the local server pdns starts and distributes the
threads with no issues but it always fails when testing to retrieve the
records

I am using the database from the earlier version of PDNS database, I have
also imported all the records into the new version of the pdns database

Still it fails to answer queries

Pdns local conf is straight forward and as follows

launch=gmysql

gmysql-host=*********

gmysql-dbname=*******

gmysql-user=**********

gmysql-password=*******  

 

 

Status shows

 

Dec 11 10:24:28 dns2 pdns[13132]: Unable to enable timestamp reporting for
socket

Dec 11 10:24:28 dns2 pdns[13132]: UDPv6 server bound to [::]:53

Dec 11 10:24:28 dns2 pdns[13132]: TCP server bound to 0.0.0.0:53

Dec 11 10:24:28 dns2 pdns[13132]: TCPv6 server bound to [::]:53

Dec 11 10:24:28 dns2 pdns[13132]: PowerDNS Authoritative Server 4.0.0-alpha2
(C) 2001-2016 PowerDNS.COM BV

Dec 11 10:24:28 dns2 pdns[13132]: Using 64-bits mode. Built using gcc 5.3.1
20160330.

Dec 11 10:24:28 dns2 pdns[13132]: PowerDNS comes with ABSOLUTELY NO
WARRANTY. This is free software, and you are welcome to red

Dec 11 10:24:28 dns2 pdns[13132]: Creating backend connection for TCP

Dec 11 10:24:28 dns2 pdns[13132]: About to create 3 backend threads for UDP

Dec 11 10:24:28 dns2 pdns[13132]: Done launching threads, ready to
distribute questions

 

Doing a dig I get

 

dig @localhost kimboscakes.co.uk

 

; <<>> DiG 9.10.3-P4-Ubuntu <<>> @localhost kimboscakes.co.uk

; (2 servers found)

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 45118

;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; WARNING: recursion requested but not available

 

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 1680

;; QUESTION SECTION:

;kimboscakes.co.uk.             IN      A

 

;; Query time: 0 msec

;; SERVER: ::1#53(::1)

;; WHEN: Sun Dec 11 10:27:51 GMT 2016

;; MSG SIZE  rcvd: 46

 

 

Any help appreciated

Patrick


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link="#0563C1" \
vlink="#954F72"><div class=WordSection1><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi Guys<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I am \
having major issues getting PDNS-server with mysql backend to run on Ubuntu server <a \
href="tel:16.04">16.04</a><o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I am using a 64 bit op \
system <o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Installing is fine and I \
can get the server to run. However it keeps failing to answer \
queries<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Using gmysql and \
connecting to the database on a separate server or even having the database on the \
local server pdns starts and distributes the threads with no issues but it always \
fails when testing to retrieve the records<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I am using the database \
from the earlier version of PDNS database, I have also imported all the records into \
the new version of the pdns database<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Still it fails to answer \
queries<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Pdns local conf is \
straight forward and as follows<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>launch=gmysql<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>gmysql-host=*********<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>gmysql-dbname=*******<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>gmysql-user=**********<o:p></o:p></p><p \
class=MsoNormal>gmysql-password=******* &nbsp;<o:p></o:p></p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Status \
shows<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: Unable to enable timestamp reporting for \
socket<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: UDPv6 server bound to [::]:53<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: TCP server bound to 0.0.0.0:53<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: TCPv6 server bound to [::]:53<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: PowerDNS Authoritative Server 4.0.0-alpha2 (C) \
2001-2016 PowerDNS.COM BV<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: Using 64-bits mode. Built using gcc 5.3.1 \
20160330.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is \
free software, and you are welcome to red<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: Creating backend connection for \
TCP<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: About to create 3 backend threads for \
UDP<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Dec \
11 10:24:28 dns2 pdns[13132]: Done launching threads, ready to distribute \
questions<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Doing \
a dig I get<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>dig \
@localhost kimboscakes.co.uk<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>; \
&lt;&lt;&gt;&gt; DiG 9.10.3-P4-Ubuntu &lt;&lt;&gt;&gt; @localhost \
kimboscakes.co.uk<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>; \
(2 servers found)<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
global options: +cmd<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
Got answer:<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
-&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: SERVFAIL, id: \
45118<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: \
1<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
WARNING: recursion requested but not available<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
OPT PSEUDOSECTION:<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>; \
EDNS: version: 0, flags:; udp: 1680<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
QUESTION SECTION:<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>; \
kimboscakes.co.uk.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
Query time: 0 msec<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
SERVER: ::1#53(::1)<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
WHEN: Sun Dec 11 10:27:51 GMT 2016<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>;; \
MSG SIZE&nbsp; rcvd: 46<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Any \
help appreciated<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Patrick<o:p></o:p></span></p></div></body></html>



[Attachment #6 (text/plain)]

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic