Re: [Pdns-users] CNAME pointing to URL forwarding record

2011-03-31 Thread Anthony Eden
On Wed, Mar 30, 2011 at 2:28 PM, Stefan Schmidt zaph...@zaphods.net wrote:

 Hi Anthony,

 On Wed, Mar 30, 2011 at 10:22 AM, Anthony Eden anthonye...@gmail.comwrote:

 When I point a CNAME record to a URL forwarding record PowerDNS returns a
 SERVFAIL for the CNAME query when I go through a resolver. If I dig directly
 against the authoritative server it works just fine. Any suggestions on how
 I can fix this, other than just replacing the CNAME with another URL
 forwarding record?


 Please tell us what you dig for and which server - presumably yours - you
 are asking.
 As there is no such thing as a URL forwarding record in DNS in general,
 is it safe to assume that you mean a URL fancy record type such as in
 http://doc.powerdns.com/fancy-records.html ?


Working: dig @ns1.dnsimple.com
www.wemakednssimple.comhttp://www.sunnybliss.com
Not working: dig @8.8.8.8 www.wemakednssimple.comhttp://www.sunnybliss.com

And yes, by URL forwarding record I mean the URL fancy record type as
described in the PowerDNS documentation.

Any help would be appreciated. Thanks.

Sincerely,
Anthony Eden

-- 
http://anthonyeden.com | twitter: @aeden | skype: anthonyeden
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] CNAME pointing to URL forwarding record

2011-03-31 Thread Leen Besselink
On 03/31/2011 09:18 AM, Anthony Eden wrote:


 On Wed, Mar 30, 2011 at 2:28 PM, Stefan Schmidt zaph...@zaphods.net
 mailto:zaph...@zaphods.net wrote:

 Hi Anthony,

 On Wed, Mar 30, 2011 at 10:22 AM, Anthony Eden
 anthonye...@gmail.com mailto:anthonye...@gmail.com wrote:

 When I point a CNAME record to a URL forwarding record
 PowerDNS returns a SERVFAIL for the CNAME query when I go
 through a resolver. If I dig directly against the
 authoritative server it works just fine. Any suggestions on
 how I can fix this, other than just replacing the CNAME with
 another URL


Actually, if you use dig and pay really close attention you should see
you request www.wemakednssimple.com http://www.sunnybliss.com

But it returns wemakednssimple.com. without the www. Which is wrong. A
recursor will recognise this and just ignore that part of the answer
(there is nothing else in the answer so you get nothing).

I don't know what the cause is, but this is the result and why it
doesn't work.

 forwarding record?


 Please tell us what you dig for and which server - presumably
 yours - you are asking.
 As there is no such thing as a URL forwarding record in DNS in
 general, is it safe to assume that you mean a URL fancy record
 type such as in http://doc.powerdns.com/fancy-records.html ?


 Working: dig @ns1.dnsimple.com http://ns1.dnsimple.com
 www.wemakednssimple.com http://www.sunnybliss.com
 Not working: dig @8.8.8.8 http://8.8.8.8 www.wemakednssimple.com
 http://www.sunnybliss.com

 And yes, by URL forwarding record I mean the URL fancy record type as
 described in the PowerDNS documentation.

 Any help would be appreciated. Thanks.

 Sincerely,
 Anthony Eden

 -- 
 http://anthonyeden.com | twitter: @aeden | skype: anthonyeden


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

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


Re: [Pdns-users] CNAME pointing to URL forwarding record

2011-03-31 Thread Anthony Eden
On Thu, Mar 31, 2011 at 11:32 AM, Leen Besselink l...@consolejunkie.netwrote:

 On 03/31/2011 09:18 AM, Anthony Eden wrote:
 
 
  On Wed, Mar 30, 2011 at 2:28 PM, Stefan Schmidt zaph...@zaphods.net
  mailto:zaph...@zaphods.net wrote:
 
  Hi Anthony,
 
  On Wed, Mar 30, 2011 at 10:22 AM, Anthony Eden
  anthonye...@gmail.com mailto:anthonye...@gmail.com wrote:
 
  When I point a CNAME record to a URL forwarding record
  PowerDNS returns a SERVFAIL for the CNAME query when I go
  through a resolver. If I dig directly against the
  authoritative server it works just fine. Any suggestions on
  how I can fix this, other than just replacing the CNAME with
  another URL
 

 Actually, if you use dig and pay really close attention you should see
 you request www.wemakednssimple.com http://www.sunnybliss.com

 But it returns wemakednssimple.com. without the www. Which is wrong. A
 recursor will recognise this and just ignore that part of the answer
 (there is nothing else in the answer so you get nothing).

 I don't know what the cause is, but this is the result and why it
 doesn't work.


I wonder if setting skip-cname to yes would solve the problem and if so,
what are the implications of doing so?

Sincerely,
Anthony Eden

-- 
http://anthonyeden.com | twitter: @aeden | skype: anthonyeden
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] CNAME pointing to URL forwarding record

2011-03-31 Thread Leen Besselink
On 03/31/2011 11:42 AM, Anthony Eden wrote:


 On Thu, Mar 31, 2011 at 11:32 AM, Leen Besselink
 l...@consolejunkie.net mailto:l...@consolejunkie.net wrote:

 On 03/31/2011 09:18 AM, Anthony Eden wrote:
 
 
  On Wed, Mar 30, 2011 at 2:28 PM, Stefan Schmidt
 zaph...@zaphods.net mailto:zaph...@zaphods.net
  mailto:zaph...@zaphods.net mailto:zaph...@zaphods.net wrote:
 
  Hi Anthony,
 
  On Wed, Mar 30, 2011 at 10:22 AM, Anthony Eden
  anthonye...@gmail.com mailto:anthonye...@gmail.com
 mailto:anthonye...@gmail.com mailto:anthonye...@gmail.com wrote:
 
  When I point a CNAME record to a URL forwarding record
  PowerDNS returns a SERVFAIL for the CNAME query when I go
  through a resolver. If I dig directly against the
  authoritative server it works just fine. Any suggestions on
  how I can fix this, other than just replacing the CNAME with
  another URL
 

 Actually, if you use dig and pay really close attention you should see
 you request www.wemakednssimple.com
 http://www.wemakednssimple.com http://www.sunnybliss.com

 But it returns wemakednssimple.com http://wemakednssimple.com.
 without the www. Which is wrong. A
 recursor will recognise this and just ignore that part of the answer
 (there is nothing else in the answer so you get nothing).

 I don't know what the cause is, but this is the result and why it
 doesn't work.


 I wonder if setting skip-cname to yes would solve the problem and if
 so, what are the implications of doing so?


I wouldn't know. Seems to be a bug/issue the way it is.

I suggest you try it on a test-machine or something like that and try to
fix it there.

Maybe just change the settings of 1 server out of the 4 and drop packets
from other IP-addresses other then your recursor for a few seconds, so
they don't cache something which is wrong.

 Sincerely,
 Anthony Eden 

 -- 
 http://anthonyeden.com | twitter: @aeden | skype: anthonyeden



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


Re: [Pdns-users] CNAME pointing to URL forwarding record

2011-03-31 Thread Stefan Schmidt
On Thu, Mar 31, 2011 at 11:42 AM, Anthony Eden anthonye...@gmail.comwrote:


 I wonder if setting skip-cname to yes would solve the problem and if so,
 what are the implications of doing so?

 Can you dump the contents of your zone somewhere? Meaning for example the
output of a select * from records where domain_id=n;  if it is *sql
backend.
This has often helped determine the problem in the past.

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


[Pdns-users] CNAME pointing to URL forwarding record

2011-03-30 Thread Anthony Eden
When I point a CNAME record to a URL forwarding record PowerDNS returns a
SERVFAIL for the CNAME query when I go through a resolver. If I dig directly
against the authoritative server it works just fine. Any suggestions on how
I can fix this, other than just replacing the CNAME with another URL
forwarding record?

Thanks!

Sincerely,
Anthony Eden

-- 
http://anthonyeden.com | twitter: @aeden | skype: anthonyeden
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] CNAME pointing to URL forwarding record

2011-03-30 Thread Stefan Schmidt
Hi Anthony,

On Wed, Mar 30, 2011 at 10:22 AM, Anthony Eden anthonye...@gmail.comwrote:

 When I point a CNAME record to a URL forwarding record PowerDNS returns a
 SERVFAIL for the CNAME query when I go through a resolver. If I dig directly
 against the authoritative server it works just fine. Any suggestions on how
 I can fix this, other than just replacing the CNAME with another URL
 forwarding record?


Please tell us what you dig for and which server - presumably yours - you
are asking.
As there is no such thing as a URL forwarding record in DNS in general, is
it safe to assume that you mean a URL fancy record type such as in
http://doc.powerdns.com/fancy-records.html ?


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