MX records for dynamic IP?

Michelle Konzack linux4michelle at tamay-dogan.net
Thu Apr 16 21:43:04 UTC 2009


Hello *,

I have a ZONE like

----[ code 'dig @ns1.xxxxxxxxxxx.com www.tamay-dogan.net ALL' ]--------

; <<>> DiG 9.5.1-P1 <<>> @ns1.xxxxxxxxxxx.com www.tamay-dogan.net ALL
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4451
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 4

;; QUESTION SECTION:
;www.tamay-dogan.net.           IN      A

;; ANSWER SECTION:
www.tamay-dogan.net.    60      IN      CNAME   tamay-dogan.homelinux.net.
tamay-dogan.homelinux.net. 60   IN      A       78.43.17.74

;; AUTHORITY SECTION:
homelinux.net.          86400   IN      NS      ns1.dyndns.org.
homelinux.net.          86400   IN      NS      ns2.dyndns.org.
homelinux.net.          86400   IN      NS      ns3.dyndns.org.
homelinux.net.          86400   IN      NS      ns4.dyndns.org.
homelinux.net.          86400   IN      NS      ns5.dyndns.org.

;; ADDITIONAL SECTION:
ns2.dyndns.org.         81538   IN      A       204.13.249.75
ns3.dyndns.org.         81538   IN      A       208.78.69.75
ns4.dyndns.org.         81538   IN      A       91.198.22.75
ns5.dyndns.org.         81538   IN      A       203.62.195.75

;; Query time: 479 msec
;; SERVER: 62.xxx.xx.4#53(62.xxx.xx.4)
;; WHEN: Thu Apr 16 23:34:08 2009
;; MSG SIZE  rcvd: 253

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 47371
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;ALL.                           IN      A

;; AUTHORITY SECTION:
.                       8042    IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2009041600 1800 900 604800 86400

;; Query time: 326 msec
;; SERVER: 62.xxx.xx.4#53(62.xxx.xx.4)
;; WHEN: Thu Apr 16 23:34:08 2009
;; MSG SIZE  rcvd: 96
------------------------------------------------------------------------

plus

----[ command 'dig @ns1.xxxxxxxxxxx.com www.tamay-dogan.net MX' ]------

; <<>> DiG 9.5.1-P1 <<>> @ns1.xxxxxxxxxxx.com tamay-dogan.net MX
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40181
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;tamay-dogan.net.               IN      MX

;; ANSWER SECTION:
tamay-dogan.net.        60      IN      MX      10 webmail.xxxxxxxxxxx.com.

;; AUTHORITY SECTION:
tamay-dogan.net.        60      IN      NS      ns1.xxxxxxxxxxx.com.
tamay-dogan.net.        60      IN      NS      ns2.xxxxxxxxxxx.com.

;; ADDITIONAL SECTION:
webmail.xxxxxxxxxxx.com. 17     IN      A       62.xxx.xx.10
ns1.xxxxxxxxxxx.com.    17      IN      A       62.xxx.xx.4
ns2.xxxxxxxxxxx.com.    17      IN      A       62.xxx.xx.8

;; Query time: 139 msec
;; SERVER: 62.xxx.xx.4#53(62.xxx.xx.4)
;; WHEN: Thu Apr 16 23:30:50 2009
;; MSG SIZE  rcvd: 156
------------------------------------------------------------------------

and it is working...  (at least  for  the  Webstuff  since  my  ZONE  is
currently pointing to my old hoster and I am waiting for the DNS  record
change)

What I like to know is, whether I can use MX records like

	60      IN      MX      10 mail.tamay-dogan.net.
	60      IN      MX      20 webmail.xxxxxxxxxxx.com.

because <mail.tamay-dogan.net> is pointing to a CNAME record and NOT  an
A record.  It it works I would not bother my "helper" called xxxxxxxxxxx
with 3000 messages per day...

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>                 Michelle Konzack
<http://www.can4linux.org/>                   Apt. 917
<http://www.flexray4linux.org/>               50, rue de Soultz
Jabber linux4michelle at jabber.ccc.de           67100 Strasbourg/France
IRC #Debian (irc.icq.com)                     Tel. DE: +49 177 9351947
ICQ #328449886                                Tel. FR: +33  6  61925193
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.pgp
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20090416/1f4fba26/attachment.bin>


More information about the bind-users mailing list