[Bug 706611] Re: cannot handle space in domainname as slave DNS

2014-01-28 Thread Christian Hofstädtler
Upstream bug claims this is fixed in 3.1+ (quantal and newer)

** Changed in: pdns (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-28 Thread Imre Gergely
That bug is indeed present in 3.0 and a bugreport was opened upstream.
They are working on it ;)

http://wiki.powerdns.com/trac/ticket/407

I think 3.0 will hit Ubuntu first rather than Debian stable. It just got
accepted to Debian unstable, when it gets in testing, we could bring it
over to Ubuntu, I hope this happens before Precise gets out, then we
could hopefully backport it to Lucid.

** Bug watch added: wiki.powerdns.com/trac/ #407
   http://wiki.powerdns.com/trac/ticket/407

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-28 Thread Simon Josefsson
I will try 3.0 when it hits Debian stable or an Ubuntu release,
whichever comes first.  Thanks for help!

Btw, did you check whether the PDNS<->MySQL bug is present in 3.0 too?
Then it might be useful to report that separately.  If it only happens
for v2.x I suppose it won't make a difference.

/Simon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-28 Thread Peter van Dijk
Hello,

as noted above, 3.0 does not have this issue. The fix is not easily
backported to 2.9.22, however.

Kind regards,
Peter van Dijk
upstream PowerDNS maintainer

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-28 Thread Imre Gergely
Confirmed in Lucid with pdns 2.9.22-9ubuntu2 . If the zone doesn't have
a zone file, it gets transferred, with unescaped space between "foo
bar", but then at the next reload, it can't load the zone because that
record is incorrect.

Nov 28 11:22:00 ximi pdns[22657]: Database module reported condition
which prevented lookup (Zone for 'josefsson.org' in
'/etc/powerdns/josefsson.org' temporarily not available (file missing,
or master dead)) sending out servfail

The file is there, it just got transferred a minute ago.

** Changed in: pdns (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-28 Thread Imre Gergely
YEah, seems like in a rush I got confused, tested with mysql backend and
found another bug. But at least we know that the bind backend works ok
with the zone in PDNS 3.0 (that's what I was testing with).

I see that there's only PDNS 2.9.22 in Ubuntu, so this may still need
fixing. This however is way beyond me... Or maybe we should push Debian
(or Ubuntu) to get PDNS 3.x in.

I'll try at least to reproduce this with pdns 2.9.22 to confirm it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-28 Thread Imre Gergely
Simon, no problem.

The AFXR gets stuck at the CERT record. But it seems that only the mysql 
backend has this problem, if used with the BIND backend the zone gets 
transferred correctly with foo\032bar record.
With the mysql backend it gets stuck at the CERT record and doesn't transfer 
anything, it just tries over and over again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-28 Thread Simon Josefsson
mån 2011-11-28 klockan 08:48 + skrev Imre Gergely:
> I think we are on to something. The issue seems to be that long CERT
> record, but we're not 100% sure.
> 
> @Simon: would it be possible to remove that CERT record from the zone so
> we can try another AXFR?

The CERT record is used in production, so I can't remove it.  What
problem do you have with the CERT record?  This bug report should be
about the "foo bar.josefsson.org" domain with the TXT type.  If PDNS
cannot handle CERT records (or generally, arbitrary unknown records),
that would be another bug that should be fixed first.

You should be able to AXFR the zone fine from kil.sjd.se:

jas@latte:~$ dig josefsson.org axfr @kil.sjd.se|grep ^foo
foo\032bar.josefsson.org. 14400 IN  TXT "Med space"
jas@latte:~$ 

Thanks,
/Simon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-28 Thread Imre Gergely
I think we are on to something. The issue seems to be that long CERT
record, but we're not 100% sure.

@Simon: would it be possible to remove that CERT record from the zone so
we can try another AXFR?

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-18 Thread Simon Josefsson
Peter van Dijk <706...@bugs.launchpad.net> writes:

> Hello Simon,
>
> your zone does not currently transfer with dig:
> $ dig josefsson.org axfr @kniv.josefsson.org 
>
> ; <<>> DiG 9.7.0-P1 <<>> josefsson.org axfr @kniv.josefsson.org
> ;; global options: +cmd
> josefsson.org.  14400 IN SOA
> belsebub.onkel. jas.pdc.kth.se. 201701 10800 3600 604800 36000
> josefsson.org.  14400 IN LOC 59 30 0.000 N 18 20 0.000 E 100.00m 2m
> 1m 10m
> josefsson.org.  14400   IN  NS  kil.sjd.se.
> .
> .
> .
> raksmorgas.josefsson.org. 14400 IN CNAME
> xn--rksmrgs-5wao1o.josefsson.org.
> redmine.josefsson.org.  14400   IN  CNAME   nubb.josefsson.org.
> ; Transfer failed.
>
>
> If you could get around to fixing that, it would make working on your
> issue easier for me (powerdns upstream).

Hi!  There seems to be something weird with that server.  Try

dig josefsson.org axfr @kil.sjd.se

meanwhile.

/Simon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-11-18 Thread Peter van Dijk
Hello Simon,

your zone does not currently transfer with dig:
$ dig josefsson.org axfr @kniv.josefsson.org 

; <<>> DiG 9.7.0-P1 <<>> josefsson.org axfr @kniv.josefsson.org
;; global options: +cmd
josefsson.org.  14400   IN  SOA belsebub.onkel. jas.pdc.kth.se. 
201701 10800 3600 604800 36000
josefsson.org.  14400   IN  LOC 59 30 0.000 N 18 20 0.000 E 
100.00m 2m 1m 10m
josefsson.org.  14400   IN  NS  kil.sjd.se.
.
.
.
raksmorgas.josefsson.org. 14400 IN  CNAME   
xn--rksmrgs-5wao1o.josefsson.org.
redmine.josefsson.org.  14400   IN  CNAME   nubb.josefsson.org.
; Transfer failed.


If you could get around to fixing that, it would make working on your issue 
easier for me (powerdns upstream).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/706611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-01-23 Thread Simon Josefsson
It should be easy to reproduce by adding this to your configuration:

zone "josefsson.org" {
 type slave;
 file "/var/cache/powerdns/josefsson.org.bak";
 masters { 94.247.169.136; };
};

That machine is open for AXFR, so everyone can setup their slave DNS to
test with.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-01-23 Thread Simon Josefsson
You can axfr the zone from kniv.josefsson.org:

jas@latte:~$ dig josefsson.org axfr @kniv.josefsson.org|grep 'space'
foo\032bar.josefsson.org. 14400 IN  TXT "Med space"
jas@latte:~$ 

Thus it is transferred correctly.

RFC 952 is about hostnames and I agree that hostnames have this
restrictions.  The name here is not a hostname, it is a domainname as
per RFC 1035 though so the 952 rule doesn't apply.  DNS is a binary
8-bit clean protocol, so any character including SPC should be permitted
through.  RFC 4343 has some discussions, but there may be even better
references.

/Simon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-01-23 Thread Stefan Schmidt
I'm not too sure if it is the obligation of the receiving end of a zone 
transfer to quote,
can you show us the results of a dig axfr for that zone?

Also please note that whitespaces are not allowed characters in dns
labels, so i wonder why you think that PowerDNS needs to be able to
handle those.

http://www.zoneedit.com/doc/rfc/rfc952.txt 
ASSUMPTIONS:
   1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
   to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
   sign (-), and period (.).  Note that periods are only allowed when
   they serve to delimit components of "domain style names". (See
   RFC-921, "Domain Name System Implementation Schedule", for
   background).  No blank or space characters are permitted as part of a
   name. No distinction is made between upper and lower case.  The first
   character must be an alpha character.  The last character must not be
   a minus sign or period.


 Stefan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706611] Re: cannot handle space in domainname as slave DNS

2011-01-23 Thread Simon Josefsson
I forgot to mention that this is a Ubuntu 10.04 LTS fully upgraded with
this pdns:

ii  pdns-server  2.9.22-3
extremely powerful and versatile nameserver

/Simon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706611

Title:
  cannot handle space in domainname as slave DNS

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs