Admin panel

DNS

What this does: DNS is the internet's address book: it tells browsers and mail servers which server a domain lives on. When freePanel is installed with DNS, your server answers those questions for the domains it hosts. The DNS group is where you see every domain's DNS, set what new domains start with, and share your DNS with other servers.

When you need it: when a site doesn't open after a move, when mail goes to the wrong place, when you set up your name servers, or when you add a second DNS server.

Most of these tools need DNS to be installed (the installer's --dns option). A reseller sees DNS zones (their own customers' zones) and DNS lookup.

DNS zones

What this does: lists every DNS zone this server answers for, with the account each belongs to, its kind and how many records it has.

When you need it: to check that a domain has a zone on this server, and which account it belongs to.

Where: DNS > DNS zones

To find a domain's zone

  1. In the menu, open DNS, then DNS zones. You see a table with Zone, Account, Kind, Records and Created, and a count such as "7 zones."
  2. In Filter by zone or account, type part of the domain or the account name, for example site1.
  3. Read the Kind: Main domain (the account's main zone) or Added zone (one added later, such as an addon domain's).
The DNS zones table with the filter box marked 2 and seven zones: the main domains of site1, site2, site3, showcase, resl and shop, and store.example.org, an added zone of site1

To change the records of a zone

A zone's records are changed from its account, the way the customer does it:

  1. Open the account's panel with Open an account's panel.
  2. In the customer's panel, open Domains > DNS records and change the records there.

If something goes wrong

Domain proof

What this does: when resellers or customers add a domain, freePanel can ask them to prove they control it before it works. This page has the switch for that check, and the list of domains waiting for proof, each of which you can approve.

When you need it: to stop someone adding a domain they don't own (for example a well-known brand) and receiving its mail.

Where: DNS > Domain proof. Admin only.

A domain waiting for proof gets no DNS records served, no free certificate and no mail. Domains you add yourself, as the admin, never wait.

To turn the check on or off

  1. Open DNS, then Domain proof.
  2. Under The check, tick or untick Ask resellers and customers to prove each new domain.
  3. Click Save. You see "The check is on." or "The check is off. Every domain counts as proven."
The card The check, with Ask resellers and customers to prove each new domain ticked (marked 2) and the Save button marked 3

How a customer proves a domain

When the check is on and a customer (or a reseller) adds a domain, their Domains page in the customer panel shows them a proof record to add to the domain's DNS: a TXT record (a line of text in DNS) named _freepanel-verify. followed by the domain, such as _freepanel-verify.blog.example.org, whose value starts with freepanel-verify= and is the same for all of that account's domains. They add it where the domain's DNS is managed. The server looks for it shortly after the domain is added, when they ask it to, and once a day. Once the record is found, the domain counts as proven for good, and the record can be removed.

A reseller proves the domains of their own hosting account the same way, from that account's Domains page.

To approve a domain by hand

  1. Under Awaiting proof, find the domain. Why it isn’t proven says what is missing, such as "No TXT record at _freepanel-verify.blog.example.org yet."
  2. Make sure the domain really belongs to that customer.
  3. Click Approve in its row. The panel asks "Approve blog.example.org for site2 without its record? Its DNS records, certificate and mail start working at once. …"
  4. Click Approve again next to the question. You see "blog.example.org is approved."
The Domain proof page: under Awaiting proof, blog.example.org of the account site2 waits, with the reason No TXT record at _freepanel-verify.blog.example.org yet (marked 1) and its Approve button (marked 3); below, Room for domains awaiting proof

Room for domains awaiting proof shows how much of the waiting list is used, such as "19 bytes of 512 KiB" for the whole server (a KiB is 1024 bytes; each waiting domain takes about as many bytes as its name has letters). You only need it when new domains are refused: then the list is full.

If something goes wrong

IPv6 for sites

What this does: chooses the IPv6 address that new zones point at. IPv6 is the newer, longer kind of internet address, such as 2001:db8::10. With an address set, new zones get an AAAA record beside their A record, so visitors who use IPv6 reach your server too. The page also shows which of the server's services answer over IPv6.

When you need it: when your hosting provider gives your server an IPv6 address.

Where: DNS > IPv6 for sites. Admin only.

To set the server's IPv6 address

  1. Make sure the server has a global IPv6 address on its network card. Your hosting provider gives you one.
  2. Open DNS, then IPv6 for sites.
  3. In Address for new zones, choose the address.
  4. Click Save address. You see "New zones now get an AAAA record for 2001:db8::10."
  5. Look at What answers over IPv6. Each service should say Answers.
The card The server's IPv6 address, still Not set, with an address chosen in Address for new zones (marked 3) and the Save address button marked 4

Setting the address changes nothing in zones that exist already.

To give the zones that exist AAAA records

  1. Under Zones that exist, click Give every zone AAAA records.
  2. The panel asks you to confirm. Click Give them.
  3. You see "Every zone is done." If you see "The server ran out of time before the last zone. Run it again", click the button again: zones that are done are not changed twice.

A name gets an AAAA record only if its A record is this server's address. To undo this, click Take them away from every zone.

If something goes wrong

DNS lookup

What this does: asks for a name's DNS records and shows the answer, as a program on the server would see it.

When you need it: to check that a DNS change has spread, or to see where a domain points now.

Where: DNS > DNS lookup. Every login has this tool, in both panels.

To look up a domain

  1. Open DNS, then DNS lookup.
  2. In Name, type the domain, for example site2.example.com.
  3. In Record type, choose a type, such as A (the address of its website), or All common types to see them all.
  4. In Ask, choose who answers:
    • This server’s resolvers: the servers your server asks when it looks up any name on the internet (a "resolver" is such a server, usually your hosting provider's). Their answer is how the rest of the world sees the name.
    • This server’s own name server: the zones as this server itself answers for them. This shows a change you just made, before it has spread to the rest of the world.
  5. Click Look up. You see Answers for site2.example.com, with the records found, the server that answered (such as 127.0.0.53:53, the server's own resolver), and how long the answer is cached (remembered).
The DNS lookup page with site2.example.com in Name (marked 2), A in Record type (marked 3), This server's resolvers in Ask (marked 4) and the Look up button marked 5; below, one A record: site2.example.com points at 203.0.113.10, cached for 5 minutes

Names in the answers can end with a dot, such as ns1.example.com.: the dot is DNS's way of saying "this is the full name". Leave it out when you type the name anywhere else, for example at a registrar.

To find the name that goes with an IP address, choose PTR in Record type and type the address, such as 203.0.113.10.

If something goes wrong

Reverse DNS

What this does: shows the name each of the server's own IP addresses answers to, and lets this server answer for an address itself. This is called reverse DNS: from an address to a name. Mail servers check it before they accept mail.

When you need it: when mail you send lands in spam or is refused, because the address has no name or a name that does not match.

Where: DNS > Reverse DNS. Admin only.

Normally the network that owns the address, usually your hosting provider, answers for it. You set the name in their control panel. This page shows what the world is told.

To check an address's reverse DNS

  1. Open DNS, then Reverse DNS. You see "This server’s name is …" and a card for each address.
  2. Read What the world is told, at the top left of the card (such as server.example.com). Next to it, Matches the server’s name and The name leads back to this address should both say Yes.

To make this server answer for an address

Most hosts never need this: setting the name in your hosting provider's control panel is enough. Do this only if your provider tells you to run the reverse DNS of your addresses yourself.

  1. In the address's card, in Name for this address, type a full name, such as server.example.com. It should be a name whose A record points back to this address.
  2. Click Answer with this name (or Save name, if this server answers for it already). You see "This server now answers for 203.0.113.10."
  3. Your hosting provider must now send the reverse DNS questions for the address to your server. After you save, the card says "The world sees this answer only when your hosting provider hands the zone … to this server’s name servers", with the zone's name (for 203.0.113.10 it ends in .in-addr.arpa). Write to your provider, for example: "Please delegate the reverse DNS zone 113.0.203.in-addr.arpa to my name servers ns1.example.com and ns2.example.com", using the zone name and your own name servers. Until they do, the world still gets their answer.
The Reverse DNS card of 203.0.113.10 on eth0: the world is told server.example.com, which matches the server's name and leads back to the address (both Yes); this server answers with Nothing yet; the Name for this address box is marked 1 and the Answer with this name button marked 2

If something goes wrong

Name servers

What this does: sets the server's name servers: the names, such as ns1.example.com and ns2.example.com, that every zone on the server lists. A name server is the server that answers DNS questions for a domain. DNS is the internet's address book.

When you need it: when you set up your own name servers after installing, or move them to new names.

Where: DNS > Name servers

The page has three parts:

To change the name servers

  1. Open DNS, then Name servers.
  2. Under Change the name servers, type the first name in Name server 1, such as ns1.example.com. This one is the primary.
  3. Type the second name in Name server 2, such as ns2.example.com. You need at least two, and you can fill in up to eight.
  4. Click Save name servers. You see "Saved. 12 zones updated." with the number of zones on your server.
The Name servers page: Name servers now lists ns1.example.com (Primary) and ns2.example.com and says new zones point at 203.0.113.10; under Change the name servers, ns1.example.com in Name server 1 (marked 2), ns2.example.com in Name server 2 (marked 3) and the Save name servers button (marked 4); At your domain registrar lists both names with 203.0.113.10

Every zone on the server now lists the new names, and so does every zone made from now on. Zones of a reseller that has name servers of its own keep those (see Reseller name servers).

Tell your domain registrar

Your domain registrar is the company where you bought your domain. Give it your name server names. When those names are under a domain that your own server answers for, such as ns1.example.com for example.com, the registrar also needs their addresses, because the world can't ask your server where your server is. These address records kept at the registrar are called "glue" records. The At your domain registrar part of the page lists them for you: for example, add ns1.example.com with your server's address (such as 203.0.113.10). Use a second server's address for the second name where you have one. Your registrar's help pages call this "register name servers" or "child name servers".

To check what each zone lists, and what the public DNS says for it, use DNS maintenance under Name servers of each zone.

If something goes wrong

Zone templates

What this does: chooses the records every new zone starts with. Until you save your own, freePanel's built-in set is used.

When you need it: when every new domain should get the same extra records, for example a record for your mail provider or a verification record.

Where: DNS > Zone templates. Admin only.

A saved template applies to zones made afterwards: a new account's main domain, a domain added later, and a zone added by hand. A zone that exists is never changed. To change one, use DNS maintenance.

In a record's value you can use these words in braces. Each is filled in when a zone is made:

WordBecomes
{zone}the domain, such as example.com
{ipv4}the server's IPv4 address
{ipv6}the server's IPv6 address (see IPv6 for sites)
{spf}the SPF record for the server (the record that says which servers may send the domain's mail)

What the built-in records mean

Until you save your own, every new zone starts with these eight records:

NameTypeValueWhat it does
@A{ipv4}The domain itself points at this server's IPv4 address.
@AAAA{ipv6}The same for IPv6 (left out on a server with no IPv6 address).
mailA and AAAA{ipv4}, {ipv6}The name mail under the domain (such as mail.site1.example.com) points at this server, for mail programs.
@MX, priority 0{zone}The domain's mail is delivered to this server. An MX record says where mail goes; the priority orders several MX records (the lowest number is tried first), and with one record 0 is fine.
wwwCNAME{zone}www under the domain (such as www.site1.example.com) is another name for the domain itself. A CNAME record says "this name is the same as that one".
@TXT{spf}The domain's SPF record: the list of servers allowed to send its mail.
_dmarcTXTv=DMARC1; p=noneThe domain's DMARC record: it tells other mail servers what to do with mail that fails the SPF check. p=none means "deliver it anyway, but report it", the safe start.

To add a record to the template

For example, to give every new domain a verification record that your mail or analytics provider asks for:

  1. Open DNS, then Zone templates. You see Records a new zone starts with, marked Built-in or Saved.
  2. Under Add a record, in Name, type the name: empty or @ for the domain itself, www or mail for a name under it, * for any name.
  3. In Type, choose the record type, for example TXT (a line of text).
  4. In Cache time, type the seconds, from 60 to 604800. 14400 is 4 hours.
  5. In Value, type the content, for example example-site-verification=abc123 (the text your provider gives you), or use a word from the table above.
  6. Click Add record. You see "Added the TXT record @."
The Zone templates page: How a template works, the eight built-in records, and the Add a record form with @ in Name (marked 2), TXT in Type (marked 3), cache time 14400, example-site-verification=abc123 in Value (marked 5) and the Add record button marked 6

Each record in the list has Change and Remove buttons. To go back to freePanel's records, click Use the built-in records, then Use built-in.

If something goes wrong

DNS maintenance

What this does: puts a zone back to the template, sets one cache time (TTL) on many zones at once, removes repeated records, and shows where each zone is delegated (which name servers the world is told to ask).

When you need it: before you move domains to another server (a short TTL makes the move faster), after you change the template, or when a domain doesn't resolve and you want to check its name servers.

Where: DNS > DNS maintenance. Admin only.

To lower the TTL of every zone before a move

  1. Open DNS, then DNS maintenance.
  2. Under Change many zones at once, in New TTL, in seconds, type for example 300 (5 minutes).
  3. Leave Zones empty for every zone, or type zone names split by spaces or new lines.
  4. Click See what would change. You see What would change: how many zones change and how many TTLs.
  5. Click Apply these changes. You see, for example, "7 of 7 zones were changed. 0 failed."
The Change many zones at once card with 300 in New TTL, in seconds (marked 2), the empty Zones box (marked 3) and the See what would change button marked 4

Tick Remove repeated records to drop a record with the same name, type and value as one before it.

To put a zone back to the template

  1. Under Put a zone back to the template, choose the zone.
  2. Click Reset zone. The panel asks, for example, "Replace every record of site2.example.com with the template?"
  3. Click Yes, reset it. You see "site2.example.com now has the template’s records."

To check each zone's name servers

  1. Under Name servers of each zone, you see This server’s name servers: and, for each zone, the name servers Listed in the zone.
  2. Click Ask the public DNS. It can take a minute. The Public DNS column then says Points here, Points elsewhere or No answer.

If something goes wrong

DNS cluster

What this does: shares this server's zones with other name servers, and takes zones from them. A second name server keeps a copy of your zones, so your domains still answer if this server is down.

When you need it: when you add a second DNS server (the usual setup is two: ns1 and ns2), or run several freePanel servers that should answer for each other's domains.

Where: DNS > DNS cluster. Admin only.

The servers copy zones the standard way DNS servers do. Any DNS server that can follow a catalog zone can take part, freePanel or not. The panels never call each other.

The usual setup is two freePanel servers: on the first (the primary), you add the second with Add a server that copies these zones; on the second, you use Take zones from another server with the key the first one gave you. If the other server is not freePanel, its own documentation explains how to add a TSIG key and follow a catalog zone; give its administrator the key and the catalog zone's name.

To add a server that copies your zones

  1. On the first server, open DNS, then DNS cluster. Under How zones are shared, note the catalog zone's name, such as catalog.server.example.com.
  2. Under Add a server that copies these zones, in Its address, type the other server's IP address, for example 198.51.100.2.
  3. In Its name (optional), type its name server name, such as ns2.example.com.
  4. Click Add and make its key. You see The key for 198.51.100.2 with a key name, an algorithm and a secret.
  5. Click Copy the secret and save it somewhere safe now, with the key name. "The secret is shown only now."
  6. Click Done, I have saved it.
  7. On the other server, set it up to fetch the zones with that key. If it is a freePanel server, follow "To take zones from another server" below on it, with this server's address, the catalog zone's name from step 1, and the key name and secret from step 5.
The card Servers that copy these zones with no server yet, and the form Add a server that copies these zones with 198.51.100.2 in Its address (marked 2), ns2.example.com in Its name, and the Add and make its key button marked 4

The server's row then shows whether it is up to date, and when it last fetched a zone.

To take zones from another server

On the second server:

  1. Open DNS, then DNS cluster. Under Take zones from another server, type the first server's address, its catalog zone's name, and the key name and secret it gave you.
  2. Click Take its zones. You see, for example, "Zones from 203.0.113.10 will arrive as soon as its catalog is fetched."
  3. In Zones allowed from it, type the names its zones must be at or under, one per line, such as example.com, and click Save the allowed zones. Until you add one, no zone is taken.

To choose which zones are shared

  1. Under Which zones are shared, in Zones to leave out, type one zone per line.
  2. Tick Name these servers in each shared zone’s NS records so the zones list your other name servers too.
  3. Click Save.

If something goes wrong