[Pdns-users] CNAME record to an external domain

Marko Kobal marko.kobal at arctur.si
Tue Sep 4 13:13:33 UTC 2007


Hi,

bert hubert pravi:
> On Mon, Sep 03, 2007 at 08:22:53PM +0200, Marko Kobal wrote:
>> Hi,
>>
>> I'll be even more specific, as the problem is even more interesting.
>>
>> We are talking about my dns server dns1.arctur.si (MASTER)
>>
>> 1) I have domain tehnodrvo.hr with external CNAME record:
>>
>> tehnodrvo.hr 	CNAME 	tehnodrvo.dyndns.org
> 
> This is not allowed. The CNAME actually means 'tehnodrvo.hr' *IS*
> tehnodrvo.dyndns.org
> 
> This is a restriction caused by how DNS works, it is not related to
> PowerDNS. Other nameservers disallow 'CNAME and other' data for a single
> record.
> 
> Your problems probably flow from this mistake.

OK, thanks, I get this. However, this IS (should be) allowed?:


www.urad.si	CNAME 	urad.blogspot.com

?

Like I said in my original post, I have already read this http://www.nabble.com/CNAME-answer-problem--t4246749.html but still

dig @dns1.arctur.si www.urad.si

returns NXDOMAIN

while

dig @dns1.arctur.si +norecur www.urad.si

resolves domain as it should ...

And like I already said, my PDNS Recursor @dns1.arctur.si works just fine, If I dig an external domain directly, everything is OK:


dig @dns1.arctur.si urad.blogspot.com

; <<>> DiG 9.3.3 <<>> @dns1.arctur.si urad.blogspot.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56396
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;urad.blogspot.com.             IN      A

;; ANSWER SECTION:
urad.blogspot.com.      3600    IN      CNAME   blogspot.l.google.com.
blogspot.l.google.com.  300     IN      A       72.14.207.191

;; Query time: 162 msec
;; SERVER: 193.77.181.76#53(193.77.181.76)
;; WHEN: Tue Sep  4 15:11:55 2007
;; MSG SIZE  rcvd: 83


What could I be doing wrong?



-- 
Kind regards, Marko Kobal.


More information about the Pdns-users mailing list