For instance, you can assign a domain to a public IP address or redirect it to another domain. Resource records are stored on name servers (NS). Domain registrars have their own name servers. After purchasing a domain, you will be able to edit its resource records on the registrar's name servers. Normally, all you need to do is log in to a registrar's website.
Adding a resource record in Vepp
In order to manage resource records in Vepp, use your server with a website as a name server for your domain:
- Log in to your registrar account which provided a domain name to you.
- Go to the domain management form.
- Open a list of resource records (RRs) of your domain.
- Edit your NS-record. Use the public IP address of your server. You can find it in Websites → IP-address.
- Save domain settings.
This is a general route. The configuration may differ for different registrars.
In order to add a resource record in Vepp:
- Go to Websites → menu → Settings → Domains (DNS) → Add record.
- Specify the main parameters like:
- Record type — A, AAAA, NS, MX, TXT, SRV, CNAME, or DNAME. Read more about each type below.
- Record name — domain or subdomain for this record.
- TTL, sec — a time period between the repeated requests for information about a resource record.
- Specify additional parameters. They can differ for each type and are described below.
An A-record defines an IPv4 address that corresponds to a domain name. You can specify IPv4.
An AAAA-record defines an IPv6 address that corresponds to a domain name. You can specify IPv6.
An NS-record is the domain name of a name server. It can have several servers. You can specify Domain.
An MX-record defines an address of the mail gateway for a domain and its priority. It is used to route mail in the network. You can specify:
- Domain is a subdomain which is also a mail gateway;
- Priority — the higher is this value, the lower is the priority.
A TXT-record is a text line. TXT records are used only by some protocols. You can specify any Text record.
An SRV-record determines a hostname and a port for a domain server. It allows using several servers for one domain. SRV-records are used only by some protocols, e.g. SIP and XMPP.
You can specify:
- Domain associated with the resource record;
- Priority — the higher is this value, the lower is the priority. The client first tries to connect to the server with the highest priority. If it is not accessible, it will try to connect to the next one, etc. If servers have the same priority, the request will be sent to the server with the largest weight. If only one server has a certain priority, its weight should be 0;
- Port of the server the request will be sent to.
A CNAME-record defines an alias of one name to another. It is used to redirect a request to an alias.h an alias shall not have any other resource records. Enter a Domain to which the request will be redirected.
A DNAME-record provides redirection of the subtree of domain names. It is used to redirect all requests to all domain names that end with a specific suffix to another part of the domain name area. Enter a Domain to which the request will be redirected.