[Pdns-users] Problem with CNAME, still not resolving
Frederic Trudeau
ftrudeau at zesolution.com
Wed Aug 27 07:35:22 UTC 2003
Greetings all pdns users.
I already posted my problem regarding this issue. I already fixed part of my problem by putting a standard A record for each of my domains.
However, problem is still present. Ive got a little more data to share with you now.
My goal is to set a simple CNAME for www.mydomain.com -> webunix.mydomain.com. webunix.mydomain.com is associates to an 'A' record, with
a very short TTL. If my server goes down, I can then simply change the IP for this A record, and bingo, web is up on the new server.
Im using the mysql backend. In my records, ive got this :
zesolution.com A 65.39.170.60
webunix.zesolution.com A 65.39.170.60
www.zesolution.com CNAME webunix.zesolution.com
othersub.zesolution.com CNAME webunix.zesolution.com
someothersub.zesolution.com CNAME webunix.zesolution.com
Not of the sub domains are resolving, and it seams CNAMEs are the cause of it.
See this dig output, querying directly my nameserver :
; <<>> DiG 9.2.0 <<>> www.zesolution.com @65.39.170.61
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14096
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;www.zesolution.com. IN A
^^^^^^^^^ (What is this?)
;; AUTHORITY SECTION:
zesolution.com. 3600 IN SOA ns1.zesolution.com. hostmaster.zesolution.com. 2003082707 10800 3600 604800 3600
;; Query time: 1 msec
;; SERVER: 65.39.170.61#53(65.39.170.61)
;; WHEN: Wed Aug 27 03:26:25 2003
;; MSG SIZE rcvd: 101
And another dig output, now requesting any type of records ...
; <<>> DiG 9.2.0 <<>> www.zesolution.com @65.39.170.61 -t ANY
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50895
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.zesolution.com. IN ANY
;; ANSWER SECTION:
www.zesolution.com. 3600 IN CNAME webunix.zesolution.com.
;; Query time: 1 msec
;; SERVER: 65.39.170.61#53(65.39.170.61)
;; WHEN: Wed Aug 27 03:30:40 2003
;; MSG SIZE rcvd: 58
Im confused ... is it that my powerdns is missed-configured in some way ?
Or that what im trying to acheived with CNAME is simply not possible ?
Thanks a bunch people.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20030827/529727b2/attachment.html>
More information about the Pdns-users
mailing list