Re: MX TTL syntax

This is a discussion on Re: MX TTL syntax within the Bind Users forums, part of the DNS and Related Forums category; Timo Proescholdt <proescho-bind@cip.informatik.uni-muenchen.de> wrote: > hi, > i want to keep the ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2004
phn@icke-reklam.ipsec.nu
 
Posts: n/a
Default Re: MX TTL syntax

Timo Proescholdt <proescho-bind@cip.informatik.uni-muenchen.de> wrote:
> hi,



> i want to keep the records of two domains syncronous.
> For this reason i configured the same zone data file
> for both domains in the named.conf.


> example


> zone "doamina.mydomain.do" {
> type master;
> file "zone-file";
> };



> zone "doaminb.mydomain.do" {
> type master;
> file "zone-file";
> };



> in the zone file i keept the left sides
> non fully qualified, so that the records are made fully
> qualified by adding the ORIGIN.


> Works so far, i only have problems with the MX Records.


> Obviously this does not work, because a mx querey for
> domainb.mydomain.do cannot be answered.


> domaina.mydomain.do 3600 IN A 10 mailserver.domainc.do


> can someone tell me about the correct syntax, specifieing
> a mx record for a whole domain without having to specify
> the domain fully qualified and also adding a ttl to that record.


> of course i could write


> domaina.mydomain.do 3600 IN A 10 mailserver.domainc.do
> domainb.mydomain.do 3600 IN A 10 mailserver.domainc.do


> in the same file, but this would be redundant.


> many thanks
> --
> Timo


One solution is to move the mailhost out of both zones ( or use the
same FQDN in both zones).

The function of MX to to say "mail to domaina should be sent to serverx"
there is no need for serverx to be within domaina, and furtermore
noone would even notice.

Same goes with NS records and contents of SOA, it fully reasonable
to have a zone delegated to nameservers in another zone (although
staying within the same TLD has benefits)

--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0