OpenNetAdmin

Search:   
Table of Contents

Edit Record

This is the form that allows you to add DNS records of various types as well as edit existing records.

There are two fields that are common to all DNS record types in ONA. They are TTL and Begin.

TTL

The TTL setting tells the DNS server how long to cache this entry. When you create a domain, there will be a default domain wide TTL setting. Each record you add will use the domain level setting unless you click the “override” link and specify a new TTL value in seconds. It is pretty rare that you would need to change this to something other than what the domain itself uses. It is not required to adjust the TTL.

Begin

This section deals with how the DNS record will be built in any DNS servers that derive their configuration from ONA. You can click the checkbox to disable the record from being in the DNS server entirely. Or if you click the clock icon you can enter in a date when this DNS record will be available for the DNS server to have in its extracted config file. When a record is added or edited this timestamp is set to the current time (meaning it is now active). You can however set it up for a future date so that the record will become active after that date. The DNS server must however extract its new configuration from ONA sometime after that time. (I.E. it may not become active in your DNS server exactly at that time if the extract process runs once an hour). Setting the time or clicking disable is not a required action.

Keep adding more DNS records

Checking this box will keep the edit window open after you hit Save. It will also not blank out the form. This is nice for when you are adding multiple records with similar data. You would then only need to change an IP offset and hostname entry without filling out the rest of the info again.

A

An “A” record is the most common type of record. It is the association of a name to an IP address. Each host you create using the Edit Host form will automatically create an A record and a PTR record.

Host Name and Domain

To start out with you will be asked for a Host Name and a Domain. These two fields together will build what is called a Fully Qualified DNS Name, or FQDN. In general the “host” portion of an FQDN is everything up to the first dot. The domain is the remainder of the FQDN. So for example in the FQDN: hostname.example.com.

hostname this is the host portion of the name
example.com this is the domain part of the FQDN

There is more to discuss here as well as referencing better DNS tutorials and RFCs FIXME

IP Address

This will be the IP address that the FQDN will point to. This IP address must be an existing IP interface in the system. Typing in an address here that does not already exist will result in an error. NOTE: do not be afraid to put IP addresses into ONA even if you do not own the address space or it is external to your environment. You would still need to put the IP into your DNS file if you were manually maintaining it so there is no problem putting them in ONA as well. In both cases you will of course need to make sure that you keep the data accurate as the other administrator may make changes you are unaware of. The IP address is a required field.

Create PTR

This option is on by default and will automatically create the reverse pointer record (PTR) for this name and IP address pair. There are certain cases where you may not want to have a reverse IP address for a name but in general it is best to leave this box checked.

The cases where you may not want to have a PTR could be where you are adding a “service” name like ftp.example.com. In the normal case you might have server.example.com → 10.1.1.1 but you also want to refer to that IP using ftp.example.com. BUT when you do an nslookup 10.1.1.1 you want it to come back with server.example.com only and not both names. This is when you would uncheck the box.

Notes

Yep, they are notes. Use them wisely

Suggested records

AT the bottom there will be an updating string of text in green letters. This is printed out as you fill out the form to try and give you an example of how the DNS configuration might look in a BIND style configuration file. It is for reference only.

CNAME

A CNAME or Alias, as it is sometimes called, is a way to have one name refer, or point to, another name. This causes a second DNS lookup on the client when you use these but can be handy at times. As Mr. Bernstein points out here you may want to use A records instead. I've used exclusively CNAMES before and been ok with it but he has a good point.

Existing A record

The only difference in this record type from the A record is that you must point it to an existing name in the system as opposed to an existing IP address in the system. The rest of the fields work the same.

MX

MX records are for mail

MX Preference

MX records allow for a preference setting that lets you control the order in which mail clients talk to the mail servers listed in the MX record. Place a numerical value here to set the preference.

The other fields are the same as the previous record descriptions.

TXT

TXT value

This is the string that would be returned when you look up the provided name. It can be used for simple notes or descriptions of names or for more common things like SPF records and TSIG hashes for DNSSEC.

The other fields are the same as the previous record descriptions.

NS

NS records do not have a host field. They are specific to domains only and therefore only require the domain field. The other fields are the same as previous record descriptions.

SRV

Priority This is the priority of the SRV record. Multiple SRV records can be added for a specific name and they are handled in order of their priority by the clients using them.

Weight

Port This is the TCP or UDP port for the service record. it can be a number from 1 to 65535. It is a required field.

The other fields are the same as previous record descriptions.

PTR

A pointer record has no name and domain of its own, it must point to an existing A record in the system.

 
edit_record.txt · Last modified: 2009/09/02 22:52 by matt