Is there any way I can setup BIND with DNS-DLZ to answer xxx.org requests as it were xxx.com zone? I want to avoid maintaining multiple zones with the exact same data.

link|improve this question
feedback

1 Answer

As long as the zone contents are identical, just re-use the same zone file.

This obviously means all labels in the zone file must be relative, i.e.:

relative IN A 1.2.3.4

is ok, but

absolute.example.com. IN A 1.2.3.4

is not.

link|improve this answer
1  
Make sure you don't include any $ORIGIN lines either, otherwise bind would refuse to load the zone. – grawity Feb 6 at 17:35
it's grawity! looky that. – adaptr Feb 7 at 14:34
I use MySQL not files (DNS-DLZ) - I also edited the question as I committed to mention it :( – clneagu Feb 7 at 18:34
Thus rendering my advice completely useless and seemingly irrelevant. – adaptr Feb 8 at 16:50
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.