[Pdns-users] Newbie Question

Tom Rossi trossi at msites.com
Tue Apr 10 02:30:36 UTC 2007


I've just completed my first PowerDNS installation and have configured
it with recursive lookups and just one zone (test.com).  I created a CNAME
record for www.test.com that points to a real zone on my production
DNS.  Here is the problem, when I try to resolve www.test.com, it
doesn't come back with the IP from my CNAME record lookup, but instead
it actually resolves www.test.com from the public DNS.  This has me
wondering two things:

1.  Is this the correct format for a CNAME record?
INSERT INTO records (domain_id, name, content, type,ttl) VALUES
(1,'www.test.com','host.mydomain.com','CNAME',120);

2.  Should PowerDNS EVER send a recursive lookup for a domain that is
listed in its domains table?  Seems like it should recognize it is the
authority and always respond.

Thanks,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20070409/4b2cca2d/attachment.html>


More information about the Pdns-users mailing list