When I ask A record for domain and A record dowsn't exists, but CNAME record exists instead, I want pdns to return CNAME records and status:NOERROR, but now it doesn't.
For example: ============================== $ dig @ns1.reg.ru mail.poxyist.ru ; <<>> DiG 9.7.1-P2-RedHat-9.7.1-2.P2.fc13 <<>> @ns1.reg.ru mail.poxyist.ru ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25877 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;mail.poxyist.ru. IN A ;; ANSWER SECTION: mail.poxyist.ru. 43200 IN CNAME ghs.google.com. ;; AUTHORITY SECTION: . 43200 IN SOA ns1.reg.ru. hostmaster.ns1.reg.ru. 1254931273 7200 3600 604800 21600 ============================== It should return NOERROR, but it returns NXDOMAIN. In another server with another configuration (skip-cname=yes) the situation is another: ============================== $ dig @oldns1.reg.ru mail.poxyist.ru ; <<>> DiG 9.7.1-P2-RedHat-9.7.1-2.P2.fc13 <<>> @oldns1.reg.ru mail.poxyist.ru ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24929 ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;mail.poxyist.ru. IN A ;; AUTHORITY SECTION: poxyist.ru. 43200 IN SOA ns1.reg.ru. hostmaster.ns1.reg.ru. 1265795783 14400 3600 604800 21600 ============================== It returns status:NOERROR but it doesn't return CNAME record in answer section. But I want both: status:NOERROR and CNAME record in answer section. How to achieve this? -- Walery Studennikov CTO of Domain Name Registrar REG.RU http://www.reg.ru/ +7 495 580-11-11 int. 501 _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users