OpenNetAdmin

Track. Automate. Configure.

Home About Features Community Develop
Download this project as a tar.gz file

Round Robin

druwoldt

17-05-2010 20:30:35

Dear Matt,

How do I put in a record that will generate a round robin DNS entry.

So I need 3 IP against an oracle 11g scan domain name.

I tried adding 3 addresses under Associated interfaces (3) for server1
192.168.0.1
192.168.0.2
192.168.0.3

But this only generated 1 record
server1.<domain name> IN A 192.168.0.1

Any help greatly appreciated

Yours sincerely

David Ruwoldt

Matt

18-05-2010 10:17:06

First off you do need to have the IP address interfaces associated with a server. Typically one would have say 3 servers with one IP each on it. But it is perfectly ok to have one server with the 3 IP addresses on it or other combinations of the above depending on your needs.

Then you simply add an A record using the same name "server1.example.com" with each IP address (check the 'keep adding' box at the bottom of the edit form so you can quickly add them). So you add 3 A records, all having the same name but different IP addresses that exist on some server(s) in the database.

Hope that makes sense.. Also to further illustrate.. Here are the DCM.PL command line entries you would use to add the DNS records after the interfaces were already in the system.



dcm.pl -r dns_record_add type=A name=server1.example.com ip=192.168.0.1
dcm.pl -r dns_record_add type=A name=server1.example.com ip=192.168.0.2
dcm.pl -r dns_record_add type=A name=server1.example.com ip=192.168.0.3

druwoldt

24-05-2010 01:37:20

Dear Matt,

Got this to work. First time round caused myself problems with orphaned interface records.

After cleaning those up I created the interfaces without PTR records and then created the A records with PTR records and everything works just fine.

Thanks.

Yours sincerely

David Ruwoldt