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.

I manage a server without a cpanel, I installed Webmin on it. And under Bind settings I have these zones:

"Root zone" 
"0" 
"0000::1"   
"127.0.0.1" 
"mydomain.com"
"localhost" 
"localhost.localdomain"

I am wondering if is safe to remove these zones and only leave "root zone" and "mydomain.com". I am not sure why they are there but on another server I only have these two left and seems to work ok.

share|improve this question

2 Answers 2

up vote 5 down vote accepted

If the server is only authoritative (i.e. serving your domain to third parties) you may safely remove those zones.

If the server is providing recursive DNS lookup service to any client (including to itself[*]) then they should remain to prevent queries for those potential local zones going out to the wider internet.

[*] i.e. if /etc/resolv.conf contains 127.0.0.1

share|improve this answer

They are there in case something looks up those names and doesn't have entry in their hosts file the way they're supposed to. I don't know what "0" is, but the localhost and loopback IP zones should be there.

share|improve this answer

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.