Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

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.

share|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 '12 at 17:35
    
it's grawity! looky that. –  adaptr Feb 7 '12 at 14:34
    
I use MySQL not files (DNS-DLZ) - I also edited the question as I committed to mention it :( –  clneagu Feb 7 '12 at 18:34
    
Thus rendering my advice completely useless and seemingly irrelevant. –  adaptr Feb 8 '12 at 16:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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