0

I've setup two Amazon EC2 instances, both running Ubuntu Server. One is configured as a DNS server running bind9, which will be used to allow EC2 instances to communicate with each other based on hostname rather than IP, since their private IPs may change.

I think I have the DNS server setup correctly. I want to use the second EC2 instance to test the DNS server.

Using Webmin, I've added the DNS server's private IP to the client's DNS Servers list and added the domain to the Search Domains list. I did have to edit /etc/dhcp3/dhclint.conf to make my changes stick.

After reboot, I expected I'd be able to ping or nslookup the DNS server from the test client, but it can't seem to find the server. Is there something I'm missing?

What's required to configure an Ubuntu client to use a DNS server?

I just want to make sure I'm not missing something before I assume the server's the problem.

  • alvosu was correct, /etc/resolv.conf is all that's required. I was IP-restricting access to the EC2 instances using the Security Groups, which allowed my local machine to communicate with them, but prevented them from communicating with each other. – ks78 Feb 7 '11 at 19:19
1

dhclient update /etc/resolv.conf. Solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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