Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Question says it all. I have a digital ocean IP address and I want to know if I can use bind9 to resolve a registered domain on a completely different network/IP? If not, what can I use?

Thanks!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes sure you can.

for your case you have just to insert the external IP in forwarders in the /etc/bind/named.conf.options file

 Sudo nano /etc/bind/named.conf.options
 forwarders {
 # Give here your IP
  };

Please read this to learn the full configuration of bind9 in Ubuntu. How do I do a complete BIND9 DNS Server Configuration with a hostname?

share|improve this answer
    
Thank you so much! Exactly what I needed. –  Mathieu Mar 6 at 1:45
    
You are welcome. Glad to be able to help –  Ask Mar 6 at 6:57

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.