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'm trying to setup my own DNS for a couple of domains that I have. However, I know some domain registrars require two different IPs or two different name servers. I would like to use only one server for this setup.

I know that binds listens on all interfaces by default, so if I have two static IPs, it'll listen to both IPs, is that right?

I'm wondering if it's possible to have this setup and how can I achieve this? Any HOWTOs will be appreciated.

share|improve this question
9  
such...a...bad...idea –  Zypher Jun 9 '11 at 2:56
    
you really should have more than one nameserver. maybe your provider even provides secondary nameservers for you? –  Carsten Thiel Jun 9 '11 at 9:10
add comment

1 Answer 1

Best practice is to have your DNS servers on different physical machines, in different datacenters, run by different people. This maximizes the protection against losing your DNS, but gets expensive.

Some registrars will require that your DNS server IPs not be in the same /24 network, as motivation to do things right.

However, yes, by default bind will listen on all IPs, so it's quite possible to use a setup like you propose.

share|improve this answer
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.