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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |