OpenNetAdmin

Track. Automate. Configure.

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

DNS A Records with 2 IP-Addresses?

Ximil

24-01-2012 06:59:00

Hey, my english isn't very well, but let me try to explain my problem.

I'm using 'OpenNetAdmin' for 3 month. I have to put the old data in this new System.
I want to create an A record with one IP-Adress and two names. Is that possible?
Can somebody help me?

Greets Ximil

Matt

24-01-2012 20:01:47

Yes you can do this no problem. Simply use the add DNS record form and add an A record as you need. Do keep in mind that you may need to un-check the create PTR button since you can only have one PTR record per IP address.

You can add for instance the following combinations of A records:

name1.example.com IN A 1.1.1.1
name2.example.com IN A 1.1.1.1
name3.example.com IN A 2.2.2.2
name3.example.com IN A 3.3.3.3

You can see all the resulting records by clicking on the domain name and viewing the list.

Ximil

25-01-2012 03:26:51

Ok, got it. Thanks for that.
Can I export the addresses from this system?

Matt

25-01-2012 07:53:08

There are several ways to export data from ONA.

1. Simply write SQL queries to extract data from the database using your favorite tool
2. use dcm.pl and the ona_sql module which allows you to write SQL queries. There are a few default saved queries available when you use the 'list' option
3. other ONA plugins can be written to provide data. There is a reporting function that can be used to create and display things in the GUI or via CLI. For instance the nmap scan plugin has a report built into it that can export data.
4. there are also dns and dhcp configuration build plugins that will extract data and output compatible configuration files for several different types of servers.

There are a few current options here but it all depends on your need. There are ways to create data extractions that suit just about any need.