[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DNS: MX and CNAME records



Hi,

my understanding of CNAME records is that an MX may not be a CNAME
record, but I thought something like

users=> select * from pdns.records where name like 'wall.%';
 domain_id |       name       | type  |      content       |  ttl  | prio | change_date 
-----------+------------------+-------+--------------------+-------+------+-------------
         8 | wall.madduck.net | CNAME | oerlikon.no-ip.org | 86400 |      | 
         8 | wall.madduck.net | MX    | a.mx.madduck.net   | 86400 |   10 | 
         8 | wall.madduck.net | MX    | b.mx.madduck.net   | 86400 |   99 | 

should be possible. Yet, dig (and bind9 host) don't like it:

piper:~> dig @a.ns.madduck.net wall.madduck.net mx                                              #[300]

; <<>> DiG 9.4.1 <<>> @a.ns.madduck.net wall.madduck.net mx
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 31652
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;wall.madduck.net.              IN      MX

;; ANSWER SECTION:
wall.madduck.net.       86400   IN      CNAME   oerlikon.no-ip.org.

;; Query time: 65 msec
;; SERVER: 213.203.238.82#53(213.203.238.82)
;; WHEN: Sat Jul 14 20:08:44 2007
;; MSG SIZE  rcvd: 66


Am I wrong and can a CNAME RR not have associated MX records?

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"most people become bankrupt through having invested too heavily in
 the prose of life. to have ruined one's self over poetry is an
 honour."
                                                        -- oscar wilde

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: