Dummy/Test DNS Server
Hi,
I want to create a test Oracle 11g Release 2 RAC. As a requirement I have to setup a SCAN domain name on DNS server with 3 IP addresses. When we ping this SCAN domain the DNS server should return different IP address on round robin basis. I've never setup a DNS server before. Can anyone help me to setup this server by providing a document or steps? I'll be using virtual machines using Virtual Box. Thanks a lot. |
Hello,
I find this webpage very complete and easy to understand. Don't let the title fool you, it's not that complicated :). DNS for Rocket Scientist It should be a good starting point. Another one similar is this one from linuxhomenetworking.com. Or the always good documentation found at The Linux Documentation Project. Hope this helps. Kind regards, Eric |
Hi Eric,
Thanks for the links. I already read the articlae at linuxhomenetworking.com but the confusion I have is that I don't have statis IP from ISP. In fact I want to use local network of VMs. One VM can act as DNS and other as Oracle RAC nodes. Is it possible to configure a DNS which can only give back some hard coded IP addresses in round robin mode? Thanks, JIA |
Hi,
If you set everything up in its own network segment then I assume you can do pretty much whatever you want in order to simulate the stuff you need. I've never personally set it up in round robin mode. We work a lot with PowerDNS at work, for TLD and Regional DNS servers but they are behind hardware load balancers. I'm sure someone with more knowledge on the matter will chip in shortly. Kind regards, Eric |
If the VM's are able to communicate on private network, then setting DNS should be easy.
For round robin to work, just assign the 3 private addresses as A record in the domains zone file. Each time you do a "dig" for it, the IP addresses will be shown in a round robin format. Though I am not able to do this right now to test it. I did this few months back. You can check the following details for more info on this. http://www.zytrax.com/books/dns/ch9/rr.html http://www.zytrax.com/books/dns/ch7/queries.html |
All times are GMT -5. The time now is 04:08 AM. |